Collection of utilities for mod creators
Quaternion Functions
Utilities for working with quaternions for rotations
Includes:
- Rotate vector according to a given euler angles rotation
- Combine 2 rotation transformations into a single rotation
- Calculate the rotation transformation required to go from a starting rotation to a target rotation
- Interpolate quaternions: allows to animate changes between a starting rotation and a final rotation
https://github.com/ALVAROPING1/Trailmakers-mods/tree/master/quaternionFunctions
Screen utilities
Utilities to create and manage screens
Includes:
- Create screen with given resolution/position/orientation/size/color palette
- Despawn screen
- Show image on screen, either by specifying the color of each pixel or by specifying pixel color changes
https://github.com/ALVAROPING1/Trailmakers-mods/tree/master/ScreenUtilities