Skip to content

Latest commit

 

History

History
68 lines (64 loc) · 2.27 KB

File metadata and controls

68 lines (64 loc) · 2.27 KB

Resources

Leo Math Library

  • LeoMath
    • Abs
    • Sqrt
    • Clamp a value between min and max values

Vectors

  • Vector2 and Vector3
    • Basic vectors operations
    • Dot product of vectors
    • Magnitude of vector
    • Normalize vector (unit vector)
    • Distance between vectors
    • Direction between vectors
    • Angle between vectors (degrees and radians)
    • Projection and Rejection one vector onto another
  • Vector2
    • Look at target position
    • Rotate vector
    • Translate vector
  • Vector3
    • Cross product of vectors
    • Look at target position
    • Rotate vector
    • Translate vector
  • Vector4
    • Basic vectors operations
    • Dot product of vectors
    • Magnitude of vector
    • Normalize vector (unit vector)

Matrices

  • Matrice2, Matrice3 and Matrice4
    • Basic operations
    • Determinant of matrix
    • Transpose matrix
    • Check is diagonal
    • Check is symmetric
    • Check is skew-symmetric
  • Matrice3
    • Inverse matrix
  • Matrice4
    • Determinant of matrix
    • Inverse matrix

Geometry

  • Plane
    • Linear interpolation
  • Line
    • Linear interpolation
    • Reflect
    • Intersect at another line

Quaternion

  • Inverse
  • Normalize
  • Look at target
  • Linear interpolation
  • Convert to Angle axis
  • Angle between two rotations
  • Spherical linear interpolation