Skip to navigation

Revs on the BBC Micro

Car geometry: yPlayerCoordTop

Name: yPlayerCoordTop [Show more] Type: Variable Category: Car geometry Summary: The top 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) uses yPlayerCoordTop * GetObjPitchAngle uses yPlayerCoordTop

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