SLProject 4.0.000
LensConfig Struct Reference

#include <SLGLOVRWorkaround.h>

Public Member Functions

float DistortionFnScaleRadiusSquared (float rsq) const
 
SLVec3f DistortionFnScaleRadiusSquaredChroma (float rsq) const
 
float DistortionFn (float r) const
 
float DistortionFnInverse (float r) const
 
float DistortionFnInverseApprox (float r) const
 
void SetUpInverseApprox ()
 
void SetToIdentity ()
 

Public Attributes

DistortionEqnType Eqn
 
float K [NumCoefficients]
 
float MaxR
 
float MetersPerTanAngleAtCenter
 
float ChromaticAberration [4]
 
float InvK [NumCoefficients]
 
float MaxInvR
 

Member Function Documentation

◆ DistortionFn()

float LensConfig::DistortionFn ( float  r) const
inline

◆ DistortionFnInverse()

float LensConfig::DistortionFnInverse ( float  r) const
inline

◆ DistortionFnInverseApprox()

float LensConfig::DistortionFnInverseApprox ( float  r) const
inline

◆ DistortionFnScaleRadiusSquared()

float LensConfig::DistortionFnScaleRadiusSquared ( float  rsq) const
inline

◆ DistortionFnScaleRadiusSquaredChroma()

SLVec3f LensConfig::DistortionFnScaleRadiusSquaredChroma ( float  rsq) const
inline

◆ SetToIdentity()

void LensConfig::SetToIdentity ( )
inline

◆ SetUpInverseApprox()

void LensConfig::SetUpInverseApprox ( )
inline

Member Data Documentation

◆ ChromaticAberration

float LensConfig::ChromaticAberration[4]

◆ Eqn

DistortionEqnType LensConfig::Eqn

◆ InvK

float LensConfig::InvK[NumCoefficients]

◆ K

float LensConfig::K[NumCoefficients]

◆ MaxInvR

float LensConfig::MaxInvR

◆ MaxR

float LensConfig::MaxR

◆ MetersPerTanAngleAtCenter

float LensConfig::MetersPerTanAngleAtCenter

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