Skip to content

quadrifoglio/math.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

math.h - Minimal C math utilities

  • 2D and 3D vectors

    • Scale
    • Dot & cross product
    • Normalization
  • 4 by 4 square matrix

    • Initialization (null and identity)
    • Multiplication
    • Graphics: 2D orthographic projection
    • Graphics: view matrix
    • Graphics: transformations (translation, scale and rotation)

Usage

Just copy math.h and math.c into your project.

About

Minimalist math library for C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages