One scanline of the world map's ground plane. More...
Data Fields | |
| s32 | x |
| the line's width scale | |
| s32 | z |
| the line's depth | |
| s32 | dx |
| the texture x offset from the origin, before >> 8 | |
| s32 | dz |
| the texture y offset from the origin, before >> 8 | |
| s16 | u |
| the cached BG2PA | |
| s16 | v |
| the cached BG2PC | |
One scanline of the world map's ground plane.
WorldMap_BuildScanlineTable fills x (the line's width scale) and z (its depth); the rest caches the rotation terms this routine computes from them for the current angle.
Definition at line 61 of file vertices.c.
| s32 ScanVertex::x |
the line's width scale
Definition at line 62 of file vertices.c.
Referenced by Transform_UpdateVertices().
| s32 ScanVertex::z |
the line's depth
Definition at line 63 of file vertices.c.
Referenced by Transform_UpdateVertices().
| s32 ScanVertex::dx |
the texture x offset from the origin, before >> 8
Definition at line 64 of file vertices.c.
Referenced by Transform_UpdateVertices().
| s32 ScanVertex::dz |
the texture y offset from the origin, before >> 8
Definition at line 65 of file vertices.c.
Referenced by Transform_UpdateVertices().
| s16 ScanVertex::u |
the cached BG2PA
Definition at line 66 of file vertices.c.
Referenced by Transform_UpdateVertices().
| s16 ScanVertex::v |
the cached BG2PC
Definition at line 67 of file vertices.c.
Referenced by Transform_UpdateVertices().