Fix silly bug in light transforms introduced during the switch to RMath.
This commit is contained in:
parent
d55ec9b025
commit
89429ed9f0
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user