Project

General

Profile

SO3Engine
SFapMeshsTools Class Reference

#include <SO3FapMeshsTools.h>

Static Public Member Functions

static void CreateFaceMesh (const Ogre::String &strName, std::string pathStdFDP, std::string pathStdIndices, Ogre::String groupName=Ogre::RGN_DEFAULT)
 
static void CreateFaceMesh (Ogre::VertexData *&vertexData, Ogre::IndexData *&indexData, std::string pathStdFDP, std::string pathStdIndices)
 

Detailed Description

Helper functions to create fap meshes. This class do not need to be instanciated, as all her member functions are static.

Definition at line 34 of file SO3FapMeshsTools.h.

Member Function Documentation

◆ CreateFaceMesh() [1/2]

void SFapMeshsTools::CreateFaceMesh ( const Ogre::String &  strName,
std::string  pathStdFDP,
std::string  pathStdIndices,
Ogre::String  groupName = Ogre::RGN_DEFAULT 
)
static

Create a fap face Mesh with a given name;

Definition at line 32 of file SO3FapMeshsTools.cpp.

◆ CreateFaceMesh() [2/2]

void SFapMeshsTools::CreateFaceMesh ( Ogre::VertexData *&  vertexData,
Ogre::IndexData *&  indexData,
std::string  pathStdFDP,
std::string  pathStdIndices 
)
static

Fill up a fresh copy of VertexData and IndexData with a sphere's coords given the number of rings and the number of segments

Definition at line 48 of file SO3FapMeshsTools.cpp.


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