File tree 1 file changed +44
-1
lines changed
1 file changed +44
-1
lines changed Original file line number Diff line number Diff line change 1
1
# 3d-Math-Java
2
- A 3d math package, containing useful vector, matrix and quaternion methods - Well Documented
2
+ An extensive 3d math package, well suited for games, 3d rendering or general math applications.
3
+ This is what I used for my [ 3d renderer] ( https://github.com/trrt-good/3d-Rendering-JAVA ) project.
4
+
5
+ ## Features:
6
+
7
+ ### [ Quaternion] ( https://github.com/trrt-good/3d-Math-Java/blob/main/Quaternion.java ) :
8
+ - axis-angle conversion to quaternions
9
+ - euler angle conversion to quaternion
10
+ - inverse calculation
11
+ - multiplcation function
12
+
13
+ ### [ Matrix3x3] ( https://github.com/trrt-good/3d-Math-Java/blob/main/Matrix3x3.java ) :
14
+ - determinant
15
+ - cofactor
16
+ - adjugate
17
+ - inverse
18
+ - matrix multiplication
19
+ - component-wise multiplication
20
+ - rotation matrix creation for each axis
21
+ - rotation matrix creation for axis angle representations
22
+
23
+ ### [ Vector3] ( https://github.com/trrt-good/3d-Math-Java/blob/main/Vector3.java ) :
24
+ - magnitude calculation
25
+ - normalization
26
+ - all basic operations
27
+ - quaternion conversion
28
+ - dot product
29
+ - cross product
30
+ - lerp method
31
+ - matrix multiplcation
32
+ - plane intersection calculation
33
+ - projection to planes
34
+ - projection to vectors
35
+ - distance to a line
36
+ - distance to a plane
37
+ - angle between two vectors
38
+ - unit vector creation from pitch and yaw angles
39
+ - rotation methods for x y z axis
40
+ - rotation method for axis angle representation
41
+ - rotation method using quaternions
42
+
43
+ ### [ Plane] ( https://github.com/trrt-good/3d-Math-Java/blob/main/Plane.java )
44
+ (mainly just an object used by the [ Vector3] ( https://github.com/trrt-good/3d-Math-Java/blob/main/Vector3.java ) class)
45
+ - calculating the paramtetric equation representation for a plane
You can’t perform that action at this time.
0 commit comments