mirror of https://github.com/AxioDL/metaforce.git
Ensure spot cutoff converted back to degrees
This commit is contained in:
parent
7a653bc3af
commit
c89005f9c3
|
@ -136,7 +136,7 @@ void WriteBabeDeadLightFromBlender(BabeDeadLight& lightOut, const hecl::BlenderC
|
||||||
}
|
}
|
||||||
|
|
||||||
lightOut.color = lightIn.color;
|
lightOut.color = lightIn.color;
|
||||||
lightOut.spotCutoff = lightIn.spotCutoff;
|
lightOut.spotCutoff = zeus::radToDeg(lightIn.spotCutoff);
|
||||||
lightOut.castShadows = lightIn.shadow;
|
lightOut.castShadows = lightIn.shadow;
|
||||||
lightOut.position.vec[0] = lightIn.sceneXf[0].vec[3];
|
lightOut.position.vec[0] = lightIn.sceneXf[0].vec[3];
|
||||||
lightOut.position.vec[1] = lightIn.sceneXf[1].vec[3];
|
lightOut.position.vec[1] = lightIn.sceneXf[1].vec[3];
|
||||||
|
|
Loading…
Reference in New Issue