|real||The angle to calculate sine and cosine, in degrees|
Pre-calculates the sine and cosine of an angle in degrees, which can then be used by future angle functions without calculating them again. This is highly useful for improving performance when calculating multiple points based on the same rotation.
Other angle functions will also prefetch rotation, if supplied, in which case running this script separately is not necessary. However, prefetching rotation manually can still be quite useful in some scenarios (such as calculations spread across multiple events) or simply maintaining clean code.
See the included interactive demo for a visual example of this function!