Lines Matching refs:tex_depth
35 static int tex_width=64, tex_height=64, tex_depth=64;
282 malloc((size_t) (4 * tex_width * tex_height * tex_depth));
288 for (k = 0; k < tex_depth; k++) {
309 tex_width, tex_height, tex_depth,
313 tex_width, tex_height, tex_depth);
359 tex_depth = atoi((argv[i]) + 2);
367 if (tex_width == 0 || tex_height == 0 || tex_depth == 0) {
556 voxels = (unsigned char *) malloc(4 * tex_width * tex_height * tex_depth);
559 for (i = 0; i < tex_depth; i++) {
562 GLint r = (255 * i) / (tex_depth - 1);
582 tex_width, tex_height, tex_depth,
586 tex_width, tex_height, tex_depth);
616 tex_width, tex_height, tex_depth);