Commit fa6ffeff83d1e13597b841ea5021b39f00e3a724
1 parent
5231d448
Normal-less objects now have their normals calculated so that they can be displayed correctly.
Change-Id: If1d7bd35eaba1cff82f12ea8118b35cf486cfb23
Showing
1 changed file
with
1 additions
and
1 deletions
examples/primitive-shapes/primitive-shapes-example.cpp
| @@ -324,7 +324,7 @@ public: | @@ -324,7 +324,7 @@ public: | ||
| 324 | //Renderer map for model | 324 | //Renderer map for model |
| 325 | mRendererMap.Clear(); | 325 | mRendererMap.Clear(); |
| 326 | mRendererMap[ "rendererType" ] = "PRIMITIVE"; | 326 | mRendererMap[ "rendererType" ] = "PRIMITIVE"; |
| 327 | - mRendererMap[ "color" ] = mColor; | 327 | + mRendererMap[ "shapeColor" ] = mColor; |
| 328 | } | 328 | } |
| 329 | 329 | ||
| 330 | //Sets the 3D model to a sphere and modifies the sliders appropriately. | 330 | //Sets the 3D model to a sphere and modifies the sliders appropriately. |