NickHardeman / ofxGizmo

An Openframeworks addon based on LibGizmo
39 stars 15 forks source link

are you try when you input an orthographic projection #6

Open FarawayRay opened 5 years ago

FarawayRay commented 5 years ago

Currently the drawing is tied directly to the input projection matrix. If you input an orthographic projection then often the widget drawing is tiny. are you try when you input an orthographic projection?Whether it works properly

FarawayRay commented 5 years ago

hi, i get some problem First, I'm going to zoom in on the X-axis And then it rotate around the z-axis The model is distorted I found m_pMatrix was a matter of calculation, are you some idea mt.RotationAxis(m_Axis,m_Ng2); mt.Multiply(m_InvOrigScale); mt.Multiply(m_svgMatrix); mt2 = m_OrigScale; mt2.Multiply(mt); *m_pMatrix=mt2;