Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Latest commit

 

History

History
42 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.11 KB

Successor ----> Math

CMMT CI

A library providing common mathematics functions: vectors, matrices, quaternions, etc.

Features

  • Vector (2D / 3D / 4D, float / int / uint /size)
  • Matrix (4x4 float)
  • Quaternion (float)
  • Ray (2D / 3D float)
  • Bounding box (2D / 3D float)
  • Bounding sphere (2D / 3D float)
  • Plane (2D / 3D float)
  • Camera (orthographic / perspective float)
  • Frustum culling (float)
  • Color (float)
  • Shadow bias (float)

Build requirements

CMake options

Name Description Default value
CMMT_USE_INT64 Use double precision integers OFF
CMMT_USE_FLOAT64 Use double precision floats OFF

Cloning

git clone https://github.com/cfnptr/cmmt

Examples

You can find usage examples in source code of the MPGX library.