OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:lightpos
(Results
1 - 4
of
4
) sorted by relevancy
/xsrc/external/mit/mesa-demos/dist/src/tests/
backspecular.c
12
static const float
lightpos
[4] = { 0, 0, 10, 0 };
variable
89
glLightfv(GL_LIGHT0, GL_POSITION,
lightpos
);
/xsrc/external/mit/mesa-demos/dist/src/demos/
ipers.c
80
static GLfloat
lightpos
[4] = { 30, 15.0, 30.0, 1.0 };
local
82
glLightfv(GL_LIGHT0, GL_POSITION,
lightpos
);
ray.c
77
static float
lightpos
[3] = { 2.1, 2.1, 2.8 };
variable
148
lightpos
[1] -= 0.1;
151
lightpos
[1] += 0.1;
154
lightpos
[0] -= 0.1;
157
lightpos
[0] += 0.1;
160
lightpos
[2] -= 0.1;
163
lightpos
[2] += 0.1;
334
vsub(dist,
lightpos
, p);
371
vsub(ldir,
lightpos
, ppos);
454
vsub(ldir,
lightpos
, ppos)
[
all
...]
teapot.c
55
static GLfloat
lightpos
[4]={2.3,0.0,3.0,1.0};
variable
88
GLfloat
lightpos
[4])
93
dot = groundplane[X] *
lightpos
[X] +
94
groundplane[Y] *
lightpos
[Y] +
95
groundplane[Z] *
lightpos
[Z] +
96
groundplane[W] *
lightpos
[W];
98
shadowMat[0][0] = dot -
lightpos
[X] * groundplane[X];
99
shadowMat[1][0] = 0.f -
lightpos
[X] * groundplane[Y];
100
shadowMat[2][0] = 0.f -
lightpos
[X] * groundplane[Z];
101
shadowMat[3][0] = 0.f -
lightpos
[X] * groundplane[W]
[
all
...]
Completed in 7 milliseconds
Indexes created Tue Jul 21 00:24:56 UTC 2026