Expand description
Utils
Modules§
- bezier
- Bezier related stuffs
- math
- Math stuffs
- rate_
functions - The rate functions
Functions§
- angle_
between_ vectors - Get angle between vectors
- apart_
alpha - Get a target alpha value that can get value of given alpha after mixed n times
- avg
- Get data’s avg
- calculate_
hash - Calculate hash
- convert_
to_ 2d - Get a 3d point’s 2d coordinate on a 3d plane
- convert_
to_ 3d - Get a 2d point’s 3d coordinate on a 3d plane
- extend_
with_ last - Extend the vec with last element
- generate_
basis - Generate basis vecs for a surface from a unit normal vec
- merge_
alpha 🔒 - project
- Projects a 3D point onto a plane defined by a unit normal vector.
- resize_
preserving_ order - Resize the vec while preserving the order
- resize_
preserving_ order_ with_ repeated_ cnt - Resize the vec while preserving the order
- resize_
preserving_ order_ with_ repeated_ indices - Resize the vec while preserving the order
- rotation_
between_ vectors - Get a rotation matrix from
v1tov2 - wrap_
point_ func_ with_ point - Apply the function by first transform the points to origin based on a point, then apply the function, then transform the points back.