![]() |
citro3d
1.2.0
|
#include "internal.h"
Functions | |
| void | C3Di_LightMtlBlend (C3D_Light *light) |
| int | C3D_LightInit (C3D_Light *light, C3D_LightEnv *env) |
| void | C3D_LightEnable (C3D_Light *light, bool enable) |
| void | C3D_LightTwoSideDiffuse (C3D_Light *light, bool enable) |
| void | C3D_LightGeoFactor (C3D_Light *light, int id, bool enable) |
| void | C3D_LightAmbient (C3D_Light *light, float r, float g, float b) |
| void | C3D_LightDiffuse (C3D_Light *light, float r, float g, float b) |
| void | C3D_LightSpecular0 (C3D_Light *light, float r, float g, float b) |
| void | C3D_LightSpecular1 (C3D_Light *light, float r, float g, float b) |
| void | C3D_LightPosition (C3D_Light *light, C3D_FVec *pos) |
| static void | C3Di_EnableCommon (C3D_Light *light, bool enable, u32 bit) |
| void | C3D_LightShadowEnable (C3D_Light *light, bool enable) |
| void | C3D_LightSpotEnable (C3D_Light *light, bool enable) |
| static u16 | floattofix2_11 (float x) |
| void | C3D_LightSpotDir (C3D_Light *light, float x, float y, float z) |
| void | C3D_LightSpotLut (C3D_Light *light, C3D_LightLut *lut) |
| void | C3D_LightDistAttnEnable (C3D_Light *light, bool enable) |
| void | C3D_LightDistAttn (C3D_Light *light, C3D_LightLutDA *lut) |
| void C3D_LightAmbient | ( | C3D_Light * | light, |
| float | r, | ||
| float | g, | ||
| float | b | ||
| ) |
| void C3D_LightDiffuse | ( | C3D_Light * | light, |
| float | r, | ||
| float | g, | ||
| float | b | ||
| ) |
| void C3D_LightDistAttn | ( | C3D_Light * | light, |
| C3D_LightLutDA * | lut | ||
| ) |
| void C3D_LightDistAttnEnable | ( | C3D_Light * | light, |
| bool | enable | ||
| ) |
| void C3D_LightEnable | ( | C3D_Light * | light, |
| bool | enable | ||
| ) |
| void C3D_LightGeoFactor | ( | C3D_Light * | light, |
| int | id, | ||
| bool | enable | ||
| ) |
| int C3D_LightInit | ( | C3D_Light * | light, |
| C3D_LightEnv * | env | ||
| ) |
| void C3D_LightPosition | ( | C3D_Light * | light, |
| C3D_FVec * | pos | ||
| ) |
| void C3D_LightShadowEnable | ( | C3D_Light * | light, |
| bool | enable | ||
| ) |
| void C3D_LightSpecular0 | ( | C3D_Light * | light, |
| float | r, | ||
| float | g, | ||
| float | b | ||
| ) |
| void C3D_LightSpecular1 | ( | C3D_Light * | light, |
| float | r, | ||
| float | g, | ||
| float | b | ||
| ) |
| void C3D_LightSpotDir | ( | C3D_Light * | light, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
| void C3D_LightSpotEnable | ( | C3D_Light * | light, |
| bool | enable | ||
| ) |
| void C3D_LightSpotLut | ( | C3D_Light * | light, |
| C3D_LightLut * | lut | ||
| ) |
| void C3D_LightTwoSideDiffuse | ( | C3D_Light * | light, |
| bool | enable | ||
| ) |
|
static |
| void C3Di_LightMtlBlend | ( | C3D_Light * | light | ) |
|
inlinestatic |