Rise
The Vieneo Province
Loading...
Searching...
No Matches
ReentryEnvelope Namespace Reference

Classes

struct  Conditions
struct  Mesh
struct  Sphere
struct  State
struct  Vector3
struct  Vertex

Functions

float Dot (Vector3 a, Vector3 b)
Vector3 Cross (Vector3 a, Vector3 b)
bool Finite (Vector3 v)
float Length (Vector3 v)
float Saturate (float x)
float Smooth (float x)
Vector3 Unit (Vector3 v)
float Strength (float density, Vector3 airVelocity)
Conditions Resolve (float density, Vector3 airVelocity, float strengthOverride)
template<class Component>
void AppendPart (std::vector< Sphere > &hull, const Component &part, const std::vector< uint8_t > &bytes, size_t stride, const RiseMath::Matrix &world)
template<class Component>
std::vector< Sphere > ExteriorHull (const Component *parts, size_t count, const std::vector< uint8_t > &bytes, size_t stride)
Mesh Generate (const std::vector< Sphere > &spheres, Vector3 windward)
void Place (Mesh &mesh, const RiseMath::Matrix &bodyToWorld, Vector3 origin)
Mesh Attached (std::vector< Sphere > hull, Vector3 windward, const RiseMath::Matrix &worldToBody, Vector3 origin)

Variables

constexpr unsigned Rings =32
constexpr unsigned Segments =64

Function Documentation

◆ AppendPart()

template<class Component>
void ReentryEnvelope::AppendPart ( std::vector< Sphere > & hull,
const Component & part,
const std::vector< uint8_t > & bytes,
size_t stride,
const RiseMath::Matrix & world )
inline

Definition at line 69 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Attached()

Mesh ReentryEnvelope::Attached ( std::vector< Sphere > hull,
Vector3 windward,
const RiseMath::Matrix & worldToBody,
Vector3 origin )
inline

Definition at line 210 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Cross()

Vector3 ReentryEnvelope::Cross ( Vector3 a,
Vector3 b )
inline

Definition at line 15 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Dot()

float ReentryEnvelope::Dot ( Vector3 a,
Vector3 b )
inline

Definition at line 14 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExteriorHull()

template<class Component>
std::vector< Sphere > ReentryEnvelope::ExteriorHull ( const Component * parts,
size_t count,
const std::vector< uint8_t > & bytes,
size_t stride )
inline

Definition at line 82 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Finite()

bool ReentryEnvelope::Finite ( Vector3 v)
inline

Definition at line 16 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Generate()

Mesh ReentryEnvelope::Generate ( const std::vector< Sphere > & spheres,
Vector3 windward )
inline

Definition at line 101 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Length()

float ReentryEnvelope::Length ( Vector3 v)
inline

Definition at line 17 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Place()

void ReentryEnvelope::Place ( Mesh & mesh,
const RiseMath::Matrix & bodyToWorld,
Vector3 origin )
inline

Definition at line 197 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Resolve()

Conditions ReentryEnvelope::Resolve ( float density,
Vector3 airVelocity,
float strengthOverride )
inline

Definition at line 33 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Saturate()

float ReentryEnvelope::Saturate ( float x)
inline

Definition at line 18 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Smooth()

float ReentryEnvelope::Smooth ( float x)
inline

Definition at line 19 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Strength()

float ReentryEnvelope::Strength ( float density,
Vector3 airVelocity )
inline

Definition at line 24 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unit()

Vector3 ReentryEnvelope::Unit ( Vector3 v)
inline

Definition at line 20 of file ReentryEnvelope.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ Rings

unsigned ReentryEnvelope::Rings =32
constexpr

Definition at line 68 of file ReentryEnvelope.h.

◆ Segments

unsigned ReentryEnvelope::Segments =64

Definition at line 68 of file ReentryEnvelope.h.