Rise
The Vieneo Province
Loading...
Searching...
No Matches
ReentryEnvelope.h File Reference
#include "../Rendering/ClientMath.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <vector>
Include dependency graph for ReentryEnvelope.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ReentryEnvelope::Conditions
struct  ReentryEnvelope::State
struct  ReentryEnvelope::Sphere
struct  ReentryEnvelope::Vertex
struct  ReentryEnvelope::Mesh
struct  ReentryEnvelope::Vector3

Namespaces

namespace  ReentryEnvelope

Functions

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

Variables

constexpr unsigned ReentryEnvelope::Rings =32
constexpr unsigned ReentryEnvelope::Segments =64