CesiumGS / obj2gltf

Convert OBJ assets to glTF
Apache License 2.0
1.71k stars 307 forks source link

Update projectTo2D function in loadObj #147

Closed hpinkos closed 6 years ago

hpinkos commented 6 years ago

This function was initially based on a projection function that I wrote years ago and recently cleaned up a lot.

Update this function: https://github.com/AnalyticalGraphicsInc/obj2gltf/blob/master/lib/loadObj.js#L215

to match this: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/CoplanarPolygonGeometryLibrary.js#L34