Home
last modified time | relevance | path

Searched refs:sphereIndex (Results 1 – 1 of 1) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/Api/FragmentLightingSimple/
Dgx_FragmentLightingSimple.cpp142 for (u32 sphereIndex = 0; sphereIndex < MAX_SPHERE_NUM; sphereIndex++) in InitializeGraphics() local
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()
149 u32 sphereIndex = 0; in InitializeGraphics() local
150 s_LightSphereArray[sphereIndex].SetColor(1.0f, 0.0f, 0.0f); in InitializeGraphics()
152 sphereIndex = 1; in InitializeGraphics()
153 s_LightSphereArray[sphereIndex].SetColor(0.0f, 1.0f, 0.0f); in InitializeGraphics()
155 sphereIndex = 2; in InitializeGraphics()
156 s_LightSphereArray[sphereIndex].SetColor(0.0f, 0.0f, 1.0f); in InitializeGraphics()
[all …]