Versions in this module Expand all Collapse all v0 v0.0.1 Jun 6, 2025 Changes in this version + func DegToRad[T float](deg T) (rad T) + func RadToDeg[T float](rad T) (deg T) + type Mat4 [16]T + func LookAtRH[T float](eye, center, up Vec3[T]) Mat4[T] + func Mat4FromAngleZ[T float](thetaRad T) Mat4[T] + func Mat4FromQuaternion[T float](quat Quaternion[T]) Mat4[T] + func Mat4FromTranslation[T float](v Vec3[T]) Mat4[T] + func PerspectiveRH[T float](fovYrad, aspectRatio, zNear, zFar T) Mat4[T] + func Perspective[T float](fovYRad, aspect, near, far T) Mat4[T] + func (lhs Mat4[T]) Mul4(rhs Mat4[T]) Mat4[T] + type Quaternion struct + S T + V Vec3[T] + func QuaternionFromAxisAngle[T float](axis Vec3[T], angleRad T) Quaternion[T] + func (lhs Quaternion[T]) Mul(rhs Quaternion[T]) Quaternion[T] + type Vec3 [3]T + func (lhs Vec3[T]) Add(rhs Vec3[T]) Vec3[T] + func (lhs Vec3[T]) Cross(rhs Vec3[T]) Vec3[T] + func (lhs Vec3[T]) Dot(rhs Vec3[T]) T + func (lhs Vec3[T]) Magnitude() T + func (lhs Vec3[T]) MulScalar(s T) Vec3[T] + func (lhs Vec3[T]) Normalize() Vec3[T] + func (lhs Vec3[T]) Sub(rhs Vec3[T]) Vec3[T]