Emergency 20 Dokumentation  4.2.0
em5::WaterjetMeshHelper Class Reference

Waterjet mesh helper class. More...

#include <WaterjetMeshHelper.h>

Inheritance diagram for em5::WaterjetMeshHelper:

Static Public Member Functions

static std::string getMeshName (const qsf::Entity &entity)
 
static void computeSmoothNormals (const std::vector< glm::vec3 > &vertices, const std::vector< uint32 > &indices, std::vector< glm::vec3 > &normals)
 
static void generateMesh (float startRadius, float endRadius, float endRadiusYFactor, const std::vector< float > &segments, float currentDistance, float targetDistance, qsf::Entity &entity, float alpha=1.0f)
 

Detailed Description

Waterjet mesh helper class.

Member Function Documentation

static void em5::WaterjetMeshHelper::computeSmoothNormals ( const std::vector< glm::vec3 > &  vertices,
const std::vector< uint32 > &  indices,
std::vector< glm::vec3 > &  normals 
)
static
static void em5::WaterjetMeshHelper::generateMesh ( float  startRadius,
float  endRadius,
float  endRadiusYFactor,
const std::vector< float > &  segments,
float  currentDistance,
float  targetDistance,
qsf::Entity entity,
float  alpha = 1.0f 
)
static
static std::string em5::WaterjetMeshHelper::getMeshName ( const qsf::Entity entity)
static

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