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) uses arctanY * GetObjYawAngle (Part 4 of 4) uses arctanY
.arctanY FOR I%, 0, 255 EQUB INT(0.5 + ATN(I% / 256) * 256 / ATN(1)) NEXT