coastline 0.0.4
Loading...
Searching...
No Matches
Light_t Struct Reference

A directional light with its colour, a copy of the colour and its direction. More...

#include <gbi.h>

Public Attributes

u8 col [3]
s8 pad1
u8 colc [3]
s8 pad2
s8 dir [3]
s8 pad3

Detailed Description

A directional light with its colour, a copy of the colour and its direction.

Member Data Documentation

◆ col

u8 Light_t::col[3]

The red, green, and blue of the light.

◆ pad1

s8 Light_t::pad1

Padding after the colour.

◆ colc

u8 Light_t::colc[3]

A copy of the colour for the RSP.

◆ pad2

s8 Light_t::pad2

Padding after the copy of the colour.

◆ dir

s8 Light_t::dir[3]

The unit direction toward the light, each component times 127.

◆ pad3

s8 Light_t::pad3

Padding after the direction.


The documentation for this struct was generated from the following file: