Skip to navigation

Revs on the BBC Micro

Car geometry: yPlayerCoordHi

Name: yPlayerCoordHi [Show more] Type: Variable Category: Car geometry Summary: The high byte of the y-coordinate of the player's 3D coordinates
Context: See this variable in context in the source code References: This variable is used as follows: * ApplyElevation (Part 5 of 5) calls yPlayerCoordHi * GetObjPitchAngle calls yPlayerCoordHi

The coordinate is stored as a 24-bit number in (yPlayerCoordTop yPlayerCoordHi yPlayerCoordLo).
.yPlayerCoordHi EQUB 0