Next: Time, Previous: Booting, Up: API Reference [Contents][Index]
Modeling a virtual world requires a good dose of linear algebra, trigonometry, and calculus. Sly comes with modules for 2D/3D/4D vector math, trigonometry, axis-aligned bounding boxes, quaternions, 4x4 transformation matrices, and interpolation.
• Vectors: | 2D/3D/4D vectors. | |
• Rectangles: | Axis-aligned bounding boxes. | |
• Transforms: | 4x4 transformation matrices. | |
• Tweens: | Interpolation between two values. | |
• Quaternions: | Representing rotations. | |
• Miscellaneous: | Other useful variables and procedures. |