Home
last modified time | relevance | path

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

/haiku/src/apps/glteapot/
H A DObjectView.cpp341 long lightNum = msg->FindInt32("num"); in MessageReceived() local
353 glEnable(GL_LIGHT0 + lightNum - 1); in MessageReceived()
354 glLightfv(GL_LIGHT0 + lightNum - 1, GL_SPECULAR, in MessageReceived()
356 glLightfv(GL_LIGHT0 + lightNum - 1, GL_DIFFUSE, in MessageReceived()
358 glLightfv(GL_LIGHT0 + lightNum - 1, GL_AMBIENT, in MessageReceived()
361 glDisable(GL_LIGHT0 + lightNum - 1); in MessageReceived()