Lines Matching refs:tmp
136 apiflt tmp; in degtorad() local
137 tmp = deg * 3.1415926 / 180.0; in degtorad()
138 return tmp; in degtorad()
142 vector tmp; in degvectoradvec() local
144 tmp.x = degtorad(degvec->x); in degvectoradvec()
145 tmp.y = degtorad(degvec->y); in degvectoradvec()
146 tmp.z = degtorad(degvec->z); in degvectoradvec()
147 *degvec = tmp; in degvectoradvec()
165 vector tmp; in Rotate3d() local
166 tmp.x = (vec->x * (rot->rx1) + vec->y * (rot->rx2) + vec->z * (rot->rx3)); in Rotate3d()
167 tmp.y = (vec->x * (rot->ry1) + vec->y * (rot->ry2) + vec->z * (rot->ry3)); in Rotate3d()
168 tmp.z = (vec->x * (rot->rz1) + vec->y * (rot->rz2) + vec->z * (rot->rz3)); in Rotate3d()
169 *vec = tmp; in Rotate3d()
406 char tmp[255]; in GetTexture() local
409 fscanf(dfile, "%s", tmp); in GetTexture()
410 if (!stringcmp("TEXTURE", tmp)) { in GetTexture()
414 *tex = find_texture(tmp); in GetTexture()
420 char tmp[255]; in GetTexBody() local
442 fscanf(dfile, "%s", tmp); in GetTexBody()
443 if (!stringcmp("PHONG", tmp)) { in GetTexBody()
444 fscanf(dfile, "%s", tmp); in GetTexBody()
445 if (!stringcmp("METAL", tmp)) { in GetTexBody()
448 else if (!stringcmp("PLASTIC", tmp)) { in GetTexBody()
458 fscanf(dfile, "%s", tmp); in GetTexBody()