DHART
|
#include <objloader_C.h>
#include <objloader.h>
#include <meshinfo.h>
#include <vector>
#include <HFExceptions.h>
#include <iostream>
#include <cinterface_utils.h>
Go to the source code of this file.
Functions | |
C_INTERFACE | LoadOBJ (const char *obj_path, HF::Geometry::GROUP_METHOD gm, float xrot, float yrot, float zrot, MeshInfo< float > ***out_data_array, int *num_meshes) |
Load an obj from the given path then rotate it by x,y, and z. More... | |
C_INTERFACE | StoreMesh (MeshInfo< float > **out_info, const int *indices, int num_indices, const float *vertices, int num_vertices, const char *name, int id) |
Store a mesh in a format usable with DHARTAPI. More... | |
C_INTERFACE | RotateMesh (MeshInfo< float > *mesh_to_rotate, float xrot, float yrot, float zrot) |
Rotate an existing mesh (HF::Geometry::MeshInfo) More... | |
C_INTERFACE | GetVertsAndTris (const MeshInfo< float > *MI, int **index_out, int *num_triangles, float **vertex_out, int *num_vertices) |
Get a pointer to and the size of a mesh's triangle and vertex arrays. More... | |
C_INTERFACE | GetMeshName (const HF::Geometry::MeshInfo< float > *MI, char **out_name) |
Get the name of a mesh. More... | |
C_INTERFACE | GetMeshID (const HF::Geometry::MeshInfo< float > *MI, int *out_id) |
Get the ID of a mesh. More... | |
C_INTERFACE | DestroyMeshInfo (MeshInfo< float > *mesh_to_destroy) |
Free the memory addressed by mesh_to_destroy, which was allocated by either LoadOBJ or StoreMesh. More... | |
C_INTERFACE | DestroyMeshInfoPtrArray (MeshInfo< float > **data_array) |