jscad / csg.js

DEPRECATED: CSG Library for JSCAD (See the link below)
https://github.com/jscad/OpenJSCAD.org/tree/master/packages/modeling
MIT License
218 stars 56 forks source link

V2 : Cleanup : Decompose OrthoNormalBasis into functional API #184

Closed z3dev closed 3 years ago

z3dev commented 5 years ago

So, we have multiple things inside orthoBasis:

For the projection matrices:

note: a projection matrix, is just another matrix (as in a set of operations on mat4 s) so perhaps we can do something in that direction: just adding new functions to mat4 ?

The proposed (closed) PR #160 adds functionality to plane, toXYPlaneTransforms(). This function produces matching projection and inverse project between planes.

z3dev commented 3 years ago

No longer relevant as this library is part of OpenJSAD.org