Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingToonApple/
DLightingToonApple.cpp62 dat_t sphere; variable
273 loadDAT( "rom:/resources/sphere.dat", &sphere); in LoadObjects()
302 unloadDAT(&sphere); in UnloadObjects()
341 for (int i = 0; i < sphere.obj_num; i++) in DrawFrame()
343 glBindBuffer(GL_ARRAY_BUFFER, sphere.posVB); in DrawFrame()
344 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)sphere.obj[i].vtx_offset); in DrawFrame()
345 glBindBuffer(GL_ARRAY_BUFFER, sphere.normVB); in DrawFrame()
346 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)sphere.obj[i].nrm_offset); in DrawFrame()
348 …for (unsigned j = sphere.obj[i].patch_offset; j < sphere.obj[i].patch_size + sphere.obj[i].patch_o… in DrawFrame()
350 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, sphere.idxVB); in DrawFrame()
[all …]
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
Ds.h174 class sphere : public base
177 sphere();
178 sphere( unsigned int i, unsigned int j, float r );
179 virtual ~sphere();
182 sphere::sphere() in sphere() function
184 sphere( 10, 10, 1.f ); in sphere()
187 sphere::sphere( unsigned int ni, unsigned int nj, float r ) in sphere() function
262 sphere::~sphere() in ~sphere()
DLightingDistanceAtte.cpp60 sphere *obj = 0;
114 obj = new sphere(20, 20, 1.f); in LoadObjects()