Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::Mesh Class Reference

Public Member Functions

 Mesh (VectorModelVertex vb, VectorGLushort ib, Texture tex)
 
void setGLBuffers ()
 
Texture texture ()
 
vec3f boundingSphereCenter ()
 
float boundingSphereRadius ()
 

Static Public Member Functions

static Mesh createCubeMesh (Texture tex)
 
static Mesh createCylinderMesh (uint segments, Texture tex)
 
static Mesh createSphereMesh (uint segments, Texture tex)
 
static Mesh createConeMesh (uint segments, Texture tex)
 

Constructor & Destructor Documentation

AltusUnified::Mesh::Mesh ( VectorModelVertex  vb,
VectorGLushort  ib,
Texture  tex 
)

Member Function Documentation

vec3f AltusUnified::Mesh::boundingSphereCenter ( )
float AltusUnified::Mesh::boundingSphereRadius ( )
static Mesh AltusUnified::Mesh::createConeMesh ( uint  segments,
Texture  tex 
)
static
static Mesh AltusUnified::Mesh::createCubeMesh ( Texture  tex)
static
static Mesh AltusUnified::Mesh::createCylinderMesh ( uint  segments,
Texture  tex 
)
static
static Mesh AltusUnified::Mesh::createSphereMesh ( uint  segments,
Texture  tex 
)
static
void AltusUnified::Mesh::setGLBuffers ( )
Texture AltusUnified::Mesh::texture ( )