Using explicit values, fixing GCC errors
This commit is contained in:
parent
08dab08b0b
commit
61fc360865
1 changed files with 8 additions and 8 deletions
|
|
@ -82,9 +82,9 @@ public:
|
|||
{1}, // Identity matrix
|
||||
{10.f, 15.f, 8.f}, // light position
|
||||
0, // instance Id
|
||||
{1, 0, 0}, // lightDirection;
|
||||
{cos(deg2rad(12.5f))}, // lightSpotCutoff;
|
||||
{cos(deg2rad(17.5f))}, // lightSpotOuterCutoff;
|
||||
{-1.f, -1.f, -.4f}, // lightDirection;
|
||||
0.939692621f, // {cos(deg2rad(20.0f))}, // lightSpotCutoff;
|
||||
0.866025404f, // {cos(deg2rad(30.0f))}, // lightSpotOuterCutoff;
|
||||
100.f, // light intensity
|
||||
0 // light type
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue