mBspTexInfo_s Struct Reference

#include <r_model_brush.h>

Collaboration diagram for mBspTexInfo_s:
Collaboration graph
[legend]

Data Fields

vec3_t uv
float u_offset
vec3_t vv
float v_offset
uint32_t flags
image_timage

Detailed Description

Apply texture with a planar texture mapping

Note:
Texture coordinates for a vector v are found with this computation:
 float u = v[0] * uv[0] + v[1] * uv[1] + v[2] * uv[2] + u_offset
 float v = v[0] * vv[0] + v[1] * vv[1] + v[2] * vv[2] + v_offset

Definition at line 66 of file r_model_brush.h.


Field Documentation

Definition at line 68 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), R_ModLoadTexinfo(), and R_SetSurfaceExtents().

Definition at line 67 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), R_ModLoadTexinfo(), and R_SetSurfaceExtents().

Definition at line 70 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), R_ModLoadTexinfo(), and R_SetSurfaceExtents().

Definition at line 69 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), R_ModLoadTexinfo(), and R_SetSurfaceExtents().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2