Updated cgltf.
This commit is contained in:
parent
08e3d51a9e
commit
7c4b654d3d
8
3rdparty/cgltf/cgltf.h
vendored
8
3rdparty/cgltf/cgltf.h
vendored
@ -4794,6 +4794,14 @@ static int cgltf_parse_json_light(cgltf_options* options, jsmntok_t const* token
|
||||
{
|
||||
CGLTF_CHECK_TOKTYPE(tokens[i], JSMN_OBJECT);
|
||||
|
||||
out_light->color[0] = 1.f;
|
||||
out_light->color[1] = 1.f;
|
||||
out_light->color[2] = 1.f;
|
||||
out_light->intensity = 1.f;
|
||||
|
||||
out_light->spot_inner_cone_angle = 0.f;
|
||||
out_light->spot_outer_cone_angle = 3.1415926535f / 4.0f;
|
||||
|
||||
int size = tokens[i].size;
|
||||
++i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user