cadop / dhart

A library for Navigation Graphs, Visibility, Raycasting and other features for Design Humans Analysis RoboTics (DHART).
https://cadop.github.io/dhart/
GNU General Public License v3.0
13 stars 7 forks source link

OBJ loader assuming triangles #56

Open cadop opened 1 year ago

cadop commented 1 year ago

There is an assumption of triangles, can cause issues later for bvh.

https://github.com/cadop/dhart/blob/26102d0f38860b8855df3670de68053aa372ae71/src/Cpp/objloader/src/objloader.cpp#L56

Need to double check we never get here without converting to triangles

https://github.com/cadop/dhart/blob/26102d0f38860b8855df3670de68053aa372ae71/src/Cpp/objloader/src/meshinfo.cpp#L73