Commit Graph

154 Commits

Author SHA1 Message Date
ed9fbc7ab8 Header Fixes 2024-07-10 14:20:11 -04:00
e8b907d86a Implement Matrix4x4::Determinant4 IsIdentity 2024-07-10 14:19:46 -04:00
68c6f6c9f8 Implement Polygon::ToPolyhedron 2024-07-10 14:19:16 -04:00
2f9cb5dd87 Implement Polyhedron::Contains Intersects ContainsConvex ClosestPoint IsNull 2024-07-10 14:19:04 -04:00
98802f2b0d Implement J3ML Core Math & Unit Tests 2024-07-10 14:17:56 -04:00
6684c64ab7 Frustum partial implementation. 2024-07-10 14:17:20 -04:00
62aeb36628 Header include fixes and implementation of more unit tests. 2024-07-10 14:16:51 -04:00
52e1670b80 Several files renamed to match new consistency-style of preferring .hpp over .h to indicate C++ Headers 2024-07-10 14:15:25 -04:00
6ae876c435 Implement Sphere documentation 2024-07-10 14:14:21 -04:00
a8dd46efc3 Implement Triangle::NumFaces NumEdges NumVertices CenterPoint Intersects(LineSegment) 2024-07-10 14:13:51 -04:00
2195752e1e Implement Vector2::RandomBox 2024-07-10 14:13:14 -04:00
27efa7da92 Implement Vector3::ScaleToLength & ToString() 2024-07-10 14:12:47 -04:00
a6612fac4d Further implementation of core math functions.
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m20s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 23s
2024-07-06 21:45:11 -04:00
57a74fd61c Moved Union Reinterpret implementation to Reinterpret.hpp 2024-07-06 21:44:28 -04:00
9253cfc8c7 Fixed several recursive header issues, refactored Math lib, began implementing core mathematical functions as wrappers around stdmath, will implement SSE and lookup tables later.
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m13s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 19s
2024-07-05 16:13:13 -04:00
ea40c40725 Implement Matrix4x4::ToEulerAngle Matrix4x4::ctor(EulerAngle) Matrix4x4::ctor(Quaternion) Matrix4x4::ToQuat() 2024-07-01 14:23:03 -04:00
552715f443 Implement Matrix3x3::ToEulerAngle and Matrix3x3::ctor(EulerAngle) 2024-07-01 14:22:10 -04:00
cc564b14fe Implement EulerAngle::ToQuaternion EulerAngle::ToAxisAngle 2024-07-01 14:14:19 -04:00
70aa74719a Minor fixes related to test migration
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 2m32s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 37s
2024-06-26 11:44:04 -04:00
scientiist
26cd349417 Implement 2D Quadratic and Cubic Bezier Curve algorithm
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 25s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 27s
2024-06-20 11:09:38 -05:00
76f5fad0bf fix build fail with O3
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 1m24s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 30s
2024-06-17 03:03:43 -04:00
a5c96e8cae Dependency Reconfiguration to support MSVC being picky :/
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 1m10s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 35s
2024-06-16 23:02:32 -07:00
5ff6f00754 Fix typos in Vector3 documentation
Some checks are pending
Run tests / Explore-Gitea-Actions (push) Waiting to run
Build Docs With Doxygen / Explore-Gitea-Actions (push) Waiting to run
2024-06-04 16:27:32 -04:00
c17ed20fa9 RNG class has bug in Float(), sort it out soon 2024-06-04 16:24:30 -04:00
ab6b2b7972 Finalized Vector2
Some checks are pending
Run tests / Explore-Gitea-Actions (push) Waiting to run
Build Docs With Doxygen / Explore-Gitea-Actions (push) Waiting to run
2024-06-03 17:04:44 -04:00
312d039001 Implement Vector3::FromScalar() RandomDir() RandomSphere() RandomBox()
Some checks are pending
Run tests / Explore-Gitea-Actions (push) Waiting to run
Build Docs With Doxygen / Explore-Gitea-Actions (push) Waiting to run
2024-05-31 15:19:45 -04:00
e0ba266444 Implement Sphere::RandomPointOnSurface() RandomPointInside() 2024-05-31 15:19:21 -04:00
e5baef35d0 Fix RNG default constructor (TODO: implement Clock class) 2024-05-31 15:18:54 -04:00
98e7b5b1f1 Implement Quaternion interface, massive documentation. 2024-05-31 15:18:40 -04:00
36e1f398a7 Implement Matrix4x4::RandomGeneral() 2024-05-31 15:18:14 -04:00
a4f10b0b7e Implement Matrix3x3::Equals() RandomRotation() RandomGeneral() Unary + Operator 2024-05-31 15:17:49 -04:00
d7bc11ca8e Rename RNG-pertitnent members 2024-05-31 15:16:53 -04:00
b4cba4cac3 Implement several missing Matrix3x3 member functions
Some checks failed
Run tests / Explore-Gitea-Actions (push) Has been cancelled
Build Docs With Doxygen / Explore-Gitea-Actions (push) Has been cancelled
2024-05-29 13:16:08 -04:00
5e253e0b2c Move template-parameterized matrix operations to Matrices.inl (excluding SetMatrixRotatePart(T, Quaternion) due to symbol resolution error)
Some checks are pending
Run tests / Explore-Gitea-Actions (push) Waiting to run
Build Docs With Doxygen / Explore-Gitea-Actions (push) Waiting to run
2024-05-29 11:14:12 -04:00
201fb4a28d Implement missing Matrix members
All checks were successful
Run tests / Explore-Gitea-Actions (push) Successful in 1m13s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 31s
2024-05-27 16:27:21 -04:00
ff777d1867 Fix obsolete function signatures 2024-05-27 16:27:12 -04:00
78415d2a88 Implement Matrix4x4::Set() Adjugate() SetIdentity() InverseColOrthogonal()
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 33s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 22s
2024-05-27 14:12:32 -04:00
c7aef869a0 Implement Vector3::Orthonormalize() AreOrthonormal()
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 38s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 25s
2024-05-27 13:35:35 -04:00
52547bca9d Implement Matrix4x4::Equals 2024-05-27 13:35:11 -04:00
ee86082c84 Implement Matrix4x4::RotateX() RotateY() RotateZ()
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 34s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 34s
2024-05-27 11:11:07 -04:00
a78b8208e2 Implement Matrix4x4::FromTRS() Scale() Translate()
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 24s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 35s
2024-05-27 03:22:58 -04:00
eabb32f26c Merge remote-tracking branch 'origin/main'
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 53s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 52s
2024-05-24 14:36:30 -04:00
bf237d1428 Move Swap(T&, T&) to J3ML.h 2024-05-24 14:36:24 -04:00
e0464b7f4f Implement Matrix3x3::InverseTranpose() InverseTransposed() Inverse() InverseFast() 2024-05-24 12:02:09 -04:00
3333dfee51 Implement Matrix3x3::DeterminantSymmetric 2024-05-24 10:44:03 -04:00
a2f1ea1979 Make shape polymorphic
All checks were successful
Run tests / Explore-Gitea-Actions (push) Successful in 1m8s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 29s
2024-05-23 19:32:24 -04:00
704a11cbc0 Fix Matrix3x3::Matrix3x3(Quaternion)
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 1m19s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 1m12s
2024-05-22 20:27:08 -04:00
e18a2cdfbf Fix Matrix3x3::Matrix3x3(Quaternion) 2024-05-22 20:12:53 -04:00
4b0b05603e Implement Matrix3x3::Row
Some checks failed
Build Docs With Doxygen / Explore-Gitea-Actions (push) Failing after 1m11s
2024-05-22 12:31:13 -04:00
d2b51d348c Implement Matrix4x4::ShearX ShearY ShearZ D3DOrthoProjLH D3DOrthoProjRH D3DPerspProjLH 2024-05-22 12:27:37 -04:00