method
Angle.sin
Angle.sin(a) -> fixed
Returns the sine of the angle, using the deterministic fixed-point trig.
Example
program Demo {
handler Step phase Update {
let dy = Angle.sin(facing)
}
}Angle.sin(a) -> fixed
Returns the sine of the angle, using the deterministic fixed-point trig.
program Demo {
handler Step phase Update {
let dy = Angle.sin(facing)
}
}