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

#include <r_material.h>

Data Fields

float floor
 
float ceil
 
float height
 

Detailed Description

Definition at line 99 of file r_material.h.

Field Documentation

float terrain_s::ceil

if the vertex z position is greater than this, the alpha value will be 1

Definition at line 101 of file r_material.h.

Referenced by R_ParseStage(), and R_StageColor().

float terrain_s::floor

if the vertex z position is lower than this, the alpha value for the blended texture will be 0

Definition at line 100 of file r_material.h.

Referenced by R_ParseStage(), and R_StageColor().

float terrain_s::height

the z distance between floor and ceiling

Definition at line 102 of file r_material.h.

Referenced by R_ParseStage(), and R_StageColor().


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