User Tools

Site Tools


4rpl:commands:vectoranglecell

Index
Math Utility

VectorAngleCell

VectorAngleCell(<-fromX <-fromZ <-toX <-toZ) ->rotAngle

Description

Returns the angle in degrees between from and to. The angle returned is always the non reflex angle between the two vectors - ie the smaller of the two possible angles between them and never greater than 180 degrees.

Examples

trace(VectorAngle(1 2 3 4 ))

Index

4rpl/commands/vectoranglecell.txt · Last modified: 2022/09/04 09:29 by Karsten75