Skip to content

Commit

Permalink
Fixed GCC compile error caused by the glTF2 code
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBeckebans committed Sep 5, 2022
1 parent 30b394b commit b04ba7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neo/idlib/gltfProperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ class gltfExt_KHR_lights_punctual_spot
idStr extensions;
gltfExtra extras;
};
typedef gltfExt_KHR_lights_punctual_spot spot;

//KHR_lights_punctual
//https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/schema/light.schema.json
Expand All @@ -705,7 +704,7 @@ class gltfExt_KHR_lights_punctual
gltfExt_KHR_lights_punctual() : color( vec3_one ), intensity( 1.0f ), range( -1.0f ), intType( -1 ) { }
idVec3 color;
float intensity;
spot spot;
gltfExt_KHR_lights_punctual_spot spot;
idStr type; //directional=0,point=1,spot=2
float range;
idStr name;
Expand Down

0 comments on commit b04ba7f

Please sign in to comment.