|
ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
Include dependency graph for vux.c:Go to the source code of this file.
Functions | |
| void | VuInit (void) |
| void | VuSetGeometryXYOffset (unsigned short x, unsigned short y) |
| void | VuSetProjection (float z) |
| void | VuSetProjectionMatrix (VU_MATRIX *projection) |
| void | VuSetProjectionType (unsigned int type) |
| void | VuSetWorldMatrix (VU_MATRIX *world) |
| void | VuSetViewMatrix (VU_MATRIX *view) |
| void | VuSetLocalScreenMatrix (VU_MATRIX *m) |
| void | VuSetProjectionNearPlaneWH (unsigned int w, unsigned int h) |
| void | VuSetAmbientLight (float r, float g, float b) |
Variables | |
| VU_MATRIX | VuWorldMatrix |
| VU_MATRIX | VuViewMatrix |
| VU_MATRIX | VuPrjectionMatrix |
| VU_MATRIX | VuLocalScreenMatrix |
| float | vu_projection = 500.0f |
| int | vu_projection_type = 0 |
| unsigned short | vu_offset_x = 2048 |
| unsigned short | vu_offset_y = 2048 |
| VU_FCVECTOR | vu_light_ambient = {0.2f, 0.2f, 0.2f, 1.0f} |
| float | vu_fog_near = 25000.0f |
| float | vu_fog_far = 45000.0f |
| float | vu_near_plane_w = 300.0f |
| float | vu_near_plane_h = 300.0f |
| void VuSetAmbientLight | ( | float | r, |
| float | g, | ||
| float | b | ||
| ) |
Definition at line 154 of file vux.c.
References VU_FCVECTOR::a, VU_FCVECTOR::b, VU_FCVECTOR::g, VU_FCVECTOR::r, and vu_light_ambient.
| void VuSetGeometryXYOffset | ( | unsigned short | x, |
| unsigned short | y | ||
| ) |
| void VuSetLocalScreenMatrix | ( | VU_MATRIX * | m | ) |
Definition at line 135 of file vux.c.
References VuLocalScreenMatrix.
Referenced by VuxUpdateLocalScreenMatrix().
| void VuSetProjection | ( | float | z | ) |
| void VuSetProjectionMatrix | ( | VU_MATRIX * | projection | ) |
| void VuSetProjectionNearPlaneWH | ( | unsigned int | w, |
| unsigned int | h | ||
| ) |
| void VuSetProjectionType | ( | unsigned int | type | ) |
Definition at line 108 of file vux.c.
References vu_projection_type.
| void VuSetViewMatrix | ( | VU_MATRIX * | view | ) |
Definition at line 125 of file vux.c.
References VuViewMatrix.
| void VuSetWorldMatrix | ( | VU_MATRIX * | world | ) |
| VU_FCVECTOR vu_light_ambient = {0.2f, 0.2f, 0.2f, 1.0f} |
Definition at line 57 of file vux.c.
Referenced by VuSetAmbientLight(), and VuxLightNormal().
| float vu_near_plane_h = 300.0f |
Definition at line 61 of file vux.c.
Referenced by VuSetProjectionNearPlaneWH(), VuxPers(), VuxPers3(), and VuxPersClip3().
| float vu_near_plane_w = 300.0f |
Definition at line 60 of file vux.c.
Referenced by VuSetProjectionNearPlaneWH(), VuxPers(), VuxPers3(), and VuxPersClip3().
| unsigned short vu_offset_x = 2048 |
Definition at line 55 of file vux.c.
Referenced by VuSetGeometryXYOffset(), VuxPers(), VuxPers3(), and VuxPersClip3().
| unsigned short vu_offset_y = 2048 |
Definition at line 56 of file vux.c.
Referenced by VuSetGeometryXYOffset(), VuxPers(), VuxPers3(), and VuxPersClip3().
| float vu_projection = 500.0f |
Definition at line 53 of file vux.c.
Referenced by VuSetProjection(), VuxPers(), VuxPers3(), and VuxPersClip3().
| int vu_projection_type = 0 |
Definition at line 54 of file vux.c.
Referenced by VuSetProjection(), VuSetProjectionMatrix(), VuSetProjectionType(), VuxPers(), VuxPers3(), VuxPersClip3(), and VuxUpdateLocalScreenMatrix().
| VU_MATRIX VuLocalScreenMatrix |
Definition at line 42 of file vux.c.
Referenced by VuSetLocalScreenMatrix(), VuxApplyMatrixLS(), and VuxApplyRotMatrixLS().
| VU_MATRIX VuPrjectionMatrix |
Definition at line 35 of file vux.c.
Referenced by VuSetProjectionMatrix(), and VuxUpdateLocalScreenMatrix().
| VU_MATRIX VuViewMatrix |
Definition at line 28 of file vux.c.
Referenced by VuSetViewMatrix(), and VuxUpdateLocalScreenMatrix().
| VU_MATRIX VuWorldMatrix |
Definition at line 21 of file vux.c.
Referenced by VuSetWorldMatrix(), and VuxUpdateLocalScreenMatrix().