Unit odeutils
Description
This unit defines some utilities for ODE.
uses
Functions and Procedures
Overview
Description
function CreateTriMeshData(Mesh : TMesh): PdxTriMeshData; |
This creates a PDxTriMeshData from our custom TMesh that can be used to create Geoms.
function CreateTriMeshFromMesh(Mesh : TMesh; Space : PdxSpace): PdxGeom; |
This creates a geom starting from a Mesh, building it's own TriMeshData. Avoid calling this multiple times with the same mesh, becouse you'll create a lot of identical TriMeshData. Instead, create the Trimesh with the CreateTrimeshData and then call multiple CreateTriMeshFromPrebuilt
function CreateTriMeshFromPrebuilt(meshData: PdxTriMeshData; Space : PdxSpace): PdxGeom; |
This creates a geom from an elsewhere obtained TrimeshData.
function distance(const a,b:TdVector3):TFloat; |
Calculate distance between 2 ode vectors
procedure guSetTransform( const pos : PdVector3; const R : PdMatrix3 ); |
procedure TransposeMatrix(var m:TDMatrix3); |
Calculate the transpose of matrix
Generated by PasDoc 0.8.8 on 2005-01-20 19:01:21