Method | Description | |
---|---|---|
f2b ( float v ) : int | ||
fsin ( float v ) : float | ||
fsqrt ( float v ) : float | ||
intersect ( ) : bool | ||
l2g ( float v ) : int | ||
sampleEnv ( Vec3f, dir, Vec3f, ptr ) : void | ||
storeColor ( int x, int y, float r, float g, float b ) : void | ||
vecAdd ( Vec3f, a, Vec3f, b, Vec3f, ptr ) : void | ||
vecDot ( Vec3f, a, Vec3f, b ) : float | ||
vecLen ( Vec3f, ptr ) : float | ||
vecNLDot ( Vec3f, a, Vec3f, b ) : float | ||
vecNormalize ( Vec3f, ptr ) : void | ||
vecScale ( Vec3f, a, float scale, Vec3f, ptr ) : void | ||
vecStore ( float x, float y, float z, Vec3f, ptr ) : void |
Method | Description | |
---|---|---|
init ( int w, int h, int pFrameBuffer ) : void | ||
renderFrame ( ) : void |
public static sampleEnv ( Vec3f, dir, Vec3f, ptr ) : void | ||
dir | Vec3f, | |
ptr | Vec3f, | |
return | void |
public static storeColor ( int x, int y, float r, float g, float b ) : void | ||
x | int | |
y | int | |
r | float | |
g | float | |
b | float | |
return | void |
public static vecAdd ( Vec3f, a, Vec3f, b, Vec3f, ptr ) : void | ||
a | Vec3f, | |
b | Vec3f, | |
ptr | Vec3f, | |
return | void |
public static vecDot ( Vec3f, a, Vec3f, b ) : float | ||
a | Vec3f, | |
b | Vec3f, | |
return | float |
public static vecNLDot ( Vec3f, a, Vec3f, b ) : float | ||
a | Vec3f, | |
b | Vec3f, | |
return | float |
public static vecNormalize ( Vec3f, ptr ) : void | ||
ptr | Vec3f, | |
return | void |
public static vecScale ( Vec3f, a, float scale, Vec3f, ptr ) : void | ||
a | Vec3f, | |
scale | float | |
ptr | Vec3f, | |
return | void |
public static vecStore ( float x, float y, float z, Vec3f, ptr ) : void | ||
x | float | |
y | float | |
z | float | |
ptr | Vec3f, | |
return | void |