RigsofRods
Soft-body Physics Simulation
Functions
FlexBody.cpp File Reference
#include "FlexBody.h"
#include "Application.h"
#include "ApproxMath.h"
#include "Console.h"
#include "SimData.h"
#include "FlexFactory.h"
#include "GfxActor.h"
#include "GfxScene.h"
#include "RigDef_File.h"
#include <Ogre.h>
+ Include dependency graph for FlexBody.cpp:

Go to the source code of this file.

Functions

int evalNodeDistance (NodeNum_t a, NodeNum_t b)
 
int evalMemoryDistance (Locator_t &a, Locator_t &b)
 
template<typename uint_T >
void reorderIndexBuffer (Ogre::IndexData *idx_data, std::vector< int > const &new_index_lookup)
 
void reorderVertexBuffer (Ogre::HardwareVertexBufferSharedPtr vert_buf, const Ogre::VertexElement *vert_elem, std::vector< int > const &new_index_lookup)
 

Function Documentation

◆ evalMemoryDistance()

int evalMemoryDistance ( Locator_t a,
Locator_t b 
)

Definition at line 738 of file FlexBody.cpp.

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

◆ evalNodeDistance()

int evalNodeDistance ( NodeNum_t  a,
NodeNum_t  b 
)

Definition at line 720 of file FlexBody.cpp.

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

◆ reorderIndexBuffer()

template<typename uint_T >
void reorderIndexBuffer ( Ogre::IndexData *  idx_data,
std::vector< int > const &  new_index_lookup 
)

Definition at line 748 of file FlexBody.cpp.

◆ reorderVertexBuffer()

void reorderVertexBuffer ( Ogre::HardwareVertexBufferSharedPtr  vert_buf,
const Ogre::VertexElement *  vert_elem,
std::vector< int > const &  new_index_lookup 
)

Definition at line 760 of file FlexBody.cpp.

+ Here is the caller graph for this function: