Searched refs:s_LightSphereArray (Results 1 – 1 of 1) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/FragmentLightingSimple/ |
| D | gx_FragmentLightingSimple.cpp | 64 demo::Sphere s_LightSphereArray[MAX_SPHERE_NUM]; variable 144 s_LightSphereArray[sphereIndex].InitializeSphere(vertexAttributes, 0.2, 4); in InitializeGraphics() 145 s_LightSphereArray[sphereIndex].SetWorldPosition(0.0f, 0.0f, 0.0f); in InitializeGraphics() 146 s_LightSphereArray[sphereIndex].SetWorldAngle(0.0f, 0.0f, 0.0f); in InitializeGraphics() 150 s_LightSphereArray[sphereIndex].SetColor(1.0f, 0.0f, 0.0f); in InitializeGraphics() 153 s_LightSphereArray[sphereIndex].SetColor(0.0f, 1.0f, 0.0f); in InitializeGraphics() 156 s_LightSphereArray[sphereIndex].SetColor(0.0f, 0.0f, 1.0f); in InitializeGraphics() 159 s_LightSphereArray[sphereIndex].SetColor(1.0f, 1.0f, 0.0f); in InitializeGraphics() 302 s_LightSphereArray[sphereIndex].Finalize(); in Finalize() 365 s_LightSphereArray[index].SetWorldPosition(s_LightArray[index].m_Position[0], in UpdateLights() [all …]
|