API Documentation
Loading...
Searching...
No Matches
ZippedRadialMeshOptions Struct Reference

Logic for setting up a mesh that is broken apart by latitude and longitude lines with a set angle difference between them. More...

#include <ShapeConstructors.h>

Collaboration diagram for ZippedRadialMeshOptions:
[legend]

Public Member Functions

Vector< 2, fltp08angleToTextureCoord (Vector< 2, Angle< fltp08 > > angle) const
 
uint04 angleToVertexIndex (Vector< 2, Angle< fltp08 > > angle) const
 
Vector< 2, Angle< fltp08 > > vertexIndexToAngle (uint04 index) const
 
 ZippedRadialMeshOptions (uint04 width, uint04 height)
 

Public Attributes

Bounds< 2, Angle< fltp08 > > radial_bounds
 
Vector< 2, uint04size = Vector <2, uint04>(44, 32)
 

Detailed Description

Logic for setting up a mesh that is broken apart by latitude and longitude lines with a set angle difference between them.


Constructor & Destructor Documentation

◆ ZippedRadialMeshOptions()

ZippedRadialMeshOptions ( uint04 width,
uint04 height )
inline

Member Function Documentation

◆ angleToTextureCoord()

Vector< 2, fltp08 > angleToTextureCoord ( Vector< 2, Angle< fltp08 > > angle) const

◆ angleToVertexIndex()

uint04 angleToVertexIndex ( Vector< 2, Angle< fltp08 > > angle) const

◆ vertexIndexToAngle()

Vector< 2, Angle< fltp08 > > vertexIndexToAngle ( uint04 index) const

Member Data Documentation

◆ radial_bounds

Bounds<2, Angle<fltp08> > radial_bounds

◆ size

Vector<2, uint04> size = Vector <2, uint04>(44, 32)

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