Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GasPatch Class Reference
Collaboration diagram for GasPatch:
Collaboration graph
[legend]

Public Member Functions

 GasPatch (const RefCountedPtr< GasPatchContext > &_ctx, GasGiant *gs, vector3d v0, vector3d v1, vector3d v2, vector3d v3)
 
 ~GasPatch ()
 
vector3d GetSpherePoint (const double x, const double y) const
 
void UpdateVBOs ()
 
void Render (Graphics::Renderer *renderer, const vector3d &campos, const matrix4x4d &modelView, const Graphics::Frustum &frustum)
 

Public Attributes

RefCountedPtr< GasPatchContextctx
 
vector3d v [4]
 
std::unique_ptr< Graphics::MeshObjectm_patchMesh
 
GasGiantgasSphere
 
vector3d clipCentroid
 
double clipRadius
 

Constructor & Destructor Documentation

◆ GasPatch()

GasPatch::GasPatch ( const RefCountedPtr< GasPatchContext > &  _ctx,
GasGiant gs,
vector3d  v0,
vector3d  v1,
vector3d  v2,
vector3d  v3 
)
inline
Here is the call graph for this function:

◆ ~GasPatch()

GasPatch::~GasPatch ( )
inline

Member Function Documentation

◆ GetSpherePoint()

vector3d GasPatch::GetSpherePoint ( const double  x,
const double  y 
) const
inline
Here is the call graph for this function:

◆ Render()

void GasPatch::Render ( Graphics::Renderer renderer,
const vector3d campos,
const matrix4x4d modelView,
const Graphics::Frustum frustum 
)
inline
Here is the call graph for this function:

◆ UpdateVBOs()

void GasPatch::UpdateVBOs ( )
inline
Here is the call graph for this function:

Member Data Documentation

◆ clipCentroid

vector3d GasPatch::clipCentroid

◆ clipRadius

double GasPatch::clipRadius

◆ ctx

◆ gasSphere

GasGiant* GasPatch::gasSphere

◆ m_patchMesh

std::unique_ptr<Graphics::MeshObject> GasPatch::m_patchMesh

◆ v

vector3d GasPatch::v[4]

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