Lines Matching refs:tex_width
35 static int tex_width=64, tex_height=64, tex_depth=64;
282 malloc((size_t) (4 * tex_width * tex_height * tex_depth));
284 for (i = 0; i < tex_width; i++) {
309 tex_width, tex_height, tex_depth,
313 tex_width, tex_height, tex_depth);
353 tex_width = 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);
561 for (k = 0; k < tex_width; k++) {
564 GLint b = (255 * k) / (tex_width - 1);
582 tex_width, tex_height, tex_depth,
586 tex_width, tex_height, tex_depth);
616 tex_width, tex_height, tex_depth);