Skip to content

Commit b04ba7f

Browse files
Fixed GCC compile error caused by the glTF2 code
1 parent 30b394b commit b04ba7f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

neo/idlib/gltfProperties.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,6 @@ class gltfExt_KHR_lights_punctual_spot
695695
idStr extensions;
696696
gltfExtra extras;
697697
};
698-
typedef gltfExt_KHR_lights_punctual_spot spot;
699698

700699
//KHR_lights_punctual
701700
//https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/schema/light.schema.json
@@ -705,7 +704,7 @@ class gltfExt_KHR_lights_punctual
705704
gltfExt_KHR_lights_punctual() : color( vec3_one ), intensity( 1.0f ), range( -1.0f ), intType( -1 ) { }
706705
idVec3 color;
707706
float intensity;
708-
spot spot;
707+
gltfExt_KHR_lights_punctual_spot spot;
709708
idStr type; //directional=0,point=1,spot=2
710709
float range;
711710
idStr name;

0 commit comments

Comments
 (0)