mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Ensure spot cutoff converted back to degrees
This commit is contained in:
@@ -136,7 +136,7 @@ void WriteBabeDeadLightFromBlender(BabeDeadLight& lightOut, const hecl::BlenderC
|
||||
}
|
||||
|
||||
lightOut.color = lightIn.color;
|
||||
lightOut.spotCutoff = lightIn.spotCutoff;
|
||||
lightOut.spotCutoff = zeus::radToDeg(lightIn.spotCutoff);
|
||||
lightOut.castShadows = lightIn.shadow;
|
||||
lightOut.position.vec[0] = lightIn.sceneXf[0].vec[3];
|
||||
lightOut.position.vec[1] = lightIn.sceneXf[1].vec[3];
|
||||
|
||||
Reference in New Issue
Block a user