Skip to content

A 3d math package in java with vector, matrix and quaternion methods well Documented

License

Notifications You must be signed in to change notification settings

trrt-good/3d-Math-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3d-Math-Java

An extensive 3d math package, well suited for games, 3d rendering or general math applications. This is what I used for my 3d renderer project.

Features:

  • axis-angle conversion to quaternions
  • euler angle conversion to quaternion
  • inverse calculation
  • multiplcation function
  • determinant
  • cofactor
  • adjugate
  • inverse
  • matrix multiplication
  • component-wise multiplication
  • rotation matrix creation for each axis
  • rotation matrix creation for axis angle representations
  • magnitude calculation
  • normalization
  • all basic operations
  • quaternion conversion
  • dot product
  • cross product
  • lerp method
  • matrix multiplcation
  • plane intersection calculation
  • projection to planes
  • projection to vectors
  • distance to a line
  • distance to a plane
  • angle between two vectors
  • unit vector creation from pitch and yaw angles
  • rotation methods for x y z axis
  • rotation method for axis angle representation
  • rotation method using quaternions

(mainly just an object used by the Vector3 class)

  • calculating the paramtetric equation representation for a plane