MathGeoLib icon indicating copy to clipboard operation
MathGeoLib copied to clipboard

A C++ library for linear algebra and geometry manipulation for computer graphics.

Results 26 MathGeoLib issues
Sort by recently updated
recently updated
newest added

Add a separate class named Convex, ConvexPolyhedron or PlaneBoundedVolume, which is a stored as a list of planes instead of vertex-polygon list representation. This allows considerably faster SAT tests against...

Profiling shows that Matrix*vector operations can be implemented faster with SSE when the matrix is stored in column major order. The current order is row major. Convert the representation from...

I suspect that `set(MATH_WINVER 0x0501)` in `CommonOptions.cmake` causes this; using `0x0600` works. ``` C:/git/tksuoran/alt/erhe/build/ninja/_deps/mathgeolib-src/src/Time/Clock.cpp:69:26: error: use of undeclared identifier 'GetTickCount64'; did you mean 'GetTickCount'? 69 | appStartTime = (tick_t)GetTickCount64(); |...

I have trying to compile the library in a header only style (I know it's unsupported but it is very close to one) and alongside https://github.com/juj/MathGeoLib/issues/76 in OBB.cpp and Polyhedron.cpp...

So I wanted to include Triangle2D.h and Triangle.h in the same file but due to #define TRIANGLE in both you will get compile errors. I would like to suggest renaming...

https://github.com/juj/MathGeoLib/blob/master/src/Geometry/Plane.cpp#L655 I believe should be like this: bool Plane::Intersects(const LineSegment &lineSegment, float *d) const { float t; bool success = IntersectLinePlane(normal, this->d, lineSegment.a, lineSegment.Dir(), t); const float lineSegmentLength = lineSegment.Length();...