Skip to navigation

Revs on the BBC Micro

Maths (Geometry): arctanY

Name: arctanY [Show more] Type: Variable Category: Maths (Geometry) Summary: Table for arctan values when calculating yaw angles Deep dive: Trigonometry
Context: See this variable in context in the source code References: This variable is used as follows: * GetObjYawAngle (Part 2 of 4) calls arctanY * GetObjYawAngle (Part 4 of 4) calls arctanY
.arctanY FOR I%, 0, 255 EQUB INT(0.5 + ATN(I% / 256) * 325.95) NEXT