UFO: Alien Invasion
Loading...
Searching...
No Matches
mBspTexInfo_t Struct Reference

#include <r_model_brush.h>

Collaboration diagram for mBspTexInfo_t:
Collaboration graph

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
QGL_EXTERN int GLboolean GLfloat * v
Definition r_gl.h:120

Definition at line 65 of file r_model_brush.h.

Field Documentation

◆ flags

◆ image

◆ u_offset

float mBspTexInfo_t::u_offset

Definition at line 67 of file r_model_brush.h.

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

◆ uv

vec3_t mBspTexInfo_t::uv

Definition at line 66 of file r_model_brush.h.

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

◆ v_offset

float mBspTexInfo_t::v_offset

Definition at line 69 of file r_model_brush.h.

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

◆ vv

vec3_t mBspTexInfo_t::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: