Blender  V2.93
Public Attributes | List of all members
GPUMatrixUnproject_Precalc Struct Reference

#include <GPU_matrix.h>

Public Attributes

float model_inverted [4][4]
 
float view [4]
 
bool is_persp
 
struct {
   double   xmin
 
   double   xmax
 
   double   ymin
 
   double   ymax
 
   double   zmin
 
   double   zmax
 
dims
 

Detailed Description

Definition at line 100 of file GPU_matrix.h.

Member Data Documentation

◆ 

struct { ... } GPUMatrixUnproject_Precalc::dims

Result of projmat_dimensions_db. Using double precision here is important as far clipping ranges can cause divide-by-zero when using float, see: T66937.

Referenced by GPU_matrix_unproject_precalc(), and gpu_mul_invert_projmat_m4_unmapped_v3_with_precalc().

◆ is_persp

bool GPUMatrixUnproject_Precalc::is_persp

◆ model_inverted

float GPUMatrixUnproject_Precalc::model_inverted[4][4]

◆ view

float GPUMatrixUnproject_Precalc::view[4]

◆ xmax

double GPUMatrixUnproject_Precalc::xmax

◆ xmin

double GPUMatrixUnproject_Precalc::xmin

◆ ymax

double GPUMatrixUnproject_Precalc::ymax

◆ ymin

double GPUMatrixUnproject_Precalc::ymin

◆ zmax

double GPUMatrixUnproject_Precalc::zmax

◆ zmin

double GPUMatrixUnproject_Precalc::zmin

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