https://github.com/jdolan/quemath
An SSE4 optimized 3D math library for games.
https://github.com/jdolan/quemath
Last synced: 9 months ago
JSON representation
An SSE4 optimized 3D math library for games.
- Host: GitHub
- URL: https://github.com/jdolan/quemath
- Owner: jdolan
- Created: 2019-08-23T11:50:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-22T23:10:48.000Z (over 6 years ago)
- Last Synced: 2024-12-29T09:28:33.294Z (over 1 year ago)
- Language: C++
- Size: 94.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quemath
An[SSE](https://en.wikipedia.org/wiki/SSE) optimized math library for games, written in C99.
## About
Quemath is a general purpose header-only library that provides well tested functions for vector, quaternion and matrix math. It can easily be used with or without OpenGL, for rendering, physics, etc.
## Features
Quemath features a robust, but focused API that descends from the math library of the venerable [Quake](https://en.wikipedia.org/wiki/Quake_(video_game)) engine. Features include:
* Integer vectors
* Arithmetic operators
* Logical operators
* Floating point vectors
* Arithmetic operators
* Logical operators
* Triginometric operators
* Dot product
* Cross product
* Normalize
* Fast normalize
* Quaternions
* Euler angle interoperability
* Matrix generation
* Floating point matrices
* Rotate, translate and scale
* Invert
* Transpose
* Fast psuedo-random number generators