gfm.math

Modules

box
module gfm.math.box

This module implements a generic axis-aligned bounding box (AABB).

funcs
module gfm.math.funcs

Useful math functions and range-based statistic computations.

matrix
module gfm.math.matrix
quaternion
module gfm.math.quaternion
shapes
module gfm.math.shapes

This module implements some abstract geometric shapes:

  • Line segments.
  • Triangle.
  • Circles/spheres.
  • Rays
  • Planes
  • Frustum
simplerng
module gfm.math.simplerng

Translation of SimpleRNG. Removed the builtin RNG to use std.random, but kept the distribution functions. John D. Cook confirmed this code as public domain.

vector
module gfm.math.vector

Meta