Fix silly bug in light transforms introduced during the switch to RMath.

This commit is contained in:
Nathan Vegdahl 2022-07-17 17:40:14 -07:00
parent d55ec9b025
commit 89429ed9f0

View File

@ -86,7 +86,7 @@ impl<'a> Assembly<'a> {
let pxforms = xform_stack.top(); let pxforms = xform_stack.top();
let xform = lerp_slice(&self.xforms[a..b], time); let xform = lerp_slice(&self.xforms[a..b], time);
if !pxforms.is_empty() { if !pxforms.is_empty() {
lerp_slice(pxforms, time).compose(&xform) xform.compose(&lerp_slice(pxforms, time))
} else { } else {
xform xform
} }