Skip to content

Commit

Permalink
bugfix: NPE in NonGlobalUniformValues.copyTransform()
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Aug 9, 2023
1 parent 17af8ee commit d5c6516
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ Matrix4f copyTransform(Matrix4f storeResult) {
* Conceptually, the order of application is: scale, then rotate, then
* translate. However, matrices combine using post-multiplication ...
*/
storeResult.translation(location);
storeResult.rotate(orientation);
storeResult.scale(scale);
result.translation(location);
result.rotate(orientation);
result.scale(scale);

return result;
}
Expand Down

0 comments on commit d5c6516

Please sign in to comment.