gfm.math

Undocumented in source.

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

Custom sized 2-dimension Matrices

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

N-dimension vector mathematical object

Public Imports

gfm.math.funcs
public import gfm.math.funcs, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.quaternion, gfm.math.shapes, gfm.math.simplerng;
gfm.math.vector
public import gfm.math.funcs, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.quaternion, gfm.math.shapes, gfm.math.simplerng;
gfm.math.box
public import gfm.math.funcs, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.quaternion, gfm.math.shapes, gfm.math.simplerng;
gfm.math.matrix
public import gfm.math.funcs, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.quaternion, gfm.math.shapes, gfm.math.simplerng;
gfm.math.quaternion
public import gfm.math.funcs, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.quaternion, gfm.math.shapes, gfm.math.simplerng;
gfm.math.shapes
public import gfm.math.funcs, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.quaternion, gfm.math.shapes, gfm.math.simplerng;
gfm.math.simplerng
public import gfm.math.funcs, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.quaternion, gfm.math.shapes, gfm.math.simplerng;

Meta