UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
mBspTexInfo_s Struct Reference

#include <r_model_brush.h>

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 65 of file r_model_brush.h.

Field Documentation

float mBspTexInfo_s::u_offset

Definition at line 67 of file r_model_brush.h.

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

vec3_t mBspTexInfo_s::uv

Definition at line 66 of file r_model_brush.h.

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

float mBspTexInfo_s::v_offset

Definition at line 69 of file r_model_brush.h.

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

vec3_t mBspTexInfo_s::vv

Definition at line 68 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: