22 {1.0f, 0.0f, 0.0f, 0.0f},
23 {0.0f, 1.0f, 0.0f, 0.0f},
24 {0.0f, 0.0f, 1.0f, 0.0f},
25 {0.0f, 0.0f, 0.0f, 1.0f}
29 {1.0f, 0.0f, 0.0f, 0.0f},
30 {0.0f, 1.0f, 0.0f, 0.0f},
31 {0.0f, 0.0f, 1.0f, 0.0f},
32 {0.0f, 0.0f, 0.0f, 1.0f}
36 {1.0f, 0.0f, 0.0f, 0.0f},
37 {0.0f, 1.0f, 0.0f, 0.0f},
38 {0.0f, 0.0f, 1.0f, 0.0f},
39 {0.0f, 0.0f, 0.0f, 1.0f}
43 {1.0f, 0.0f, 0.0f, 0.0f},
44 {0.0f, 1.0f, 0.0f, 0.0f},
45 {0.0f, 0.0f, 1.0f, 0.0f},
46 {0.0f, 0.0f, 0.0f, 1.0f}
53float vu_projection = 500.0f;
54int vu_projection_type = 0;
55unsigned short vu_offset_x = 2048;
56unsigned short vu_offset_y = 2048;
57VU_FCVECTOR vu_light_ambient = {0.2f, 0.2f, 0.2f, 1.0f};
58float vu_fog_near = 25000.0f;
59float vu_fog_far = 45000.0f;
60float vu_near_plane_w = 300.0f;
61float vu_near_plane_h = 300.0f;
78void VuSetGeometryXYOffset(
unsigned short x,
unsigned short y)
88void VuSetProjection(
float z)
92 vu_projection_type = 0;
98void VuSetProjectionMatrix(
const VU_MATRIX *projection)
100 VuPrjectionMatrix = *projection;
102 vu_projection_type = 1;
108void VuSetProjectionType(
unsigned int type)
110 vu_projection_type = type;
116void VuSetWorldMatrix(
const VU_MATRIX *world)
119 VuWorldMatrix = *world;
125void VuSetViewMatrix(
const VU_MATRIX *view)
128 VuViewMatrix = *view;
135void VuSetLocalScreenMatrix(
const VU_MATRIX *m)
138 VuLocalScreenMatrix = *m;
144void VuSetProjectionNearPlaneWH(
unsigned int w,
unsigned int h)
154void VuSetAmbientLight(
float r,
float g,
float b)
157 vu_light_ambient.r = r;
158 vu_light_ambient.g = g;
159 vu_light_ambient.b = b;
160 vu_light_ambient.a = 1.0f;