Mohido / BRDFA_Engine

A 3D engine for the purposes of analyzing different "Bidirectional Reflectance Distribution Function"s over environment maps.
GNU General Public License v3.0
1 stars 0 forks source link

Bug: Scaling Should be After Rotation #49

Closed Mohido closed 2 years ago

Mohido commented 2 years ago

Currently I am scaling the transform matrix then rotating it. I should be doing the opposite. Fix: Store the scaling in a vector then just scale the object's transformation matrix in the update() call after the rotation is being done.

Mohido commented 2 years ago

Fixed in the https://github.com/Mohido/BRDFA_Engine/pull/55