My Project: openb3dlib.mod/openb3d/src/tree.cpp File Reference

My Project

Macros | Functions
tree.cpp File Reference
`#include "tree.h"`

## Macros

#define | NULL 0

## Functions

MeshInfo * | C_NewMeshInfo ()
void | C_DeleteMeshInfo (MeshInfo *mesh_info)
void | C_AddTriangle (MeshInfo *mesh_info, int index, short v0, short v1, short v2, int surface)
void | C_AddVertex (MeshInfo *mesh_info, float x, float y, float z, int surface)
void | C_AddSurface (MeshInfo *mesh_info, int no_tris, int no_verts, short tris[], float verts[], int surface)
MeshCollider * | C_CreateColTree (MeshInfo *mesh_info)
void | C_DeleteColTree (MeshCollider *mesh_col)

## Macro Definition Documentation

## § NULL

#define NULL 0

## Function Documentation

## § C_AddSurface()

void C_AddSurface | ( | MeshInfo * | mesh_info,
|  | int | no_tris,
|  | int | no_verts,
|  | short | tris[],
|  | float | verts[],
|  | int | surface
| ) |  |

## § C_AddTriangle()

void C_AddTriangle | ( | MeshInfo * | mesh_info,
|  | int | index,
|  | short | v0,
|  | short | v1,
|  | short | v2,
|  | int | surface
| ) |  |

## § C_AddVertex()

void C_AddVertex | ( | MeshInfo * | mesh_info,
|  | float | x,
|  | float | y,
|  | float | z,
|  | int | surface
| ) |  |

## § C_CreateColTree()

MeshCollider* C_CreateColTree | ( | MeshInfo * | mesh_info | ) |

## § C_DeleteColTree()

void C_DeleteColTree | ( | MeshCollider * | mesh_col | ) |

## § C_DeleteMeshInfo()

void C_DeleteMeshInfo | ( | MeshInfo * | mesh_info | ) |

## § C_NewMeshInfo()

MeshInfo* C_NewMeshInfo | ( |  | ) |