Support Forum       G3D Web Page     
Public Attributes | List of all members
G3D::PrecomputedRandom::HemiUniformData Class Reference

Put the cosHemi and the uniform together so that when alternating between them we stay in cache. More...

Public Attributes

float cosHemiX
 
float cosHemiY
 
float cosHemiZ
 
float uniform
 

Detailed Description

Put the cosHemi and the uniform together so that when alternating between them we stay in cache.

This is also packed into a good size for SIMD and GPU operations.

Member Data Documentation

◆ cosHemiX

float G3D::PrecomputedRandom::HemiUniformData::cosHemiX

◆ cosHemiY

float G3D::PrecomputedRandom::HemiUniformData::cosHemiY

◆ cosHemiZ

float G3D::PrecomputedRandom::HemiUniformData::cosHemiZ

◆ uniform

float G3D::PrecomputedRandom::HemiUniformData::uniform

documentation generated on Wed Nov 24 2021 08:01:59 using doxygen 1.8.15