Skip to content

Commit

Permalink
- fix: write extras for lights
Browse files Browse the repository at this point in the history
  • Loading branch information
sultim-t committed Jan 7, 2023
1 parent 561455e commit f9567ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cgltf_write.h
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@ static void cgltf_write_light(cgltf_write_context* context, const cgltf_light* l
cgltf_write_floatprop(context, "outerConeAngle", light->spot_outer_cone_angle, 3.14159265358979323846f/4.0f);
cgltf_write_line(context, "}");
}
cgltf_write_extras( context, &light->extras );
cgltf_write_line(context, "}");
}

Expand Down

0 comments on commit f9567ab

Please sign in to comment.