Starshatter_Open
Open source Starshatter engine
|
#include <Editor.h>
Public Types | |
enum | { MAP_NONE, MAP_PLANAR, MAP_CYLINDRICAL, MAP_SPHERICAL, MAP_STRETCH } |
Public Member Functions | |
Editor (MagicDoc *doc) | |
void | UseModel (Model *m) |
Model * | GetModel () const |
void | ApplyMaterial (Material *material, List< Poly > &polys, int mapping, int axis, float scale_u, float scale_v, int flip, int mirror, int rotate) |
void | ApplyMaterialCylindrical (Material *material, List< Poly > &polys, int axis, float scale_u, float scale_v, int flip, int mirror, int rotate) |
void | ApplyMaterialSpherical (Material *material, List< Poly > &polys, int axis, float scale_u, float scale_v, int flip, int mirror, int rotate) |
void | Resegment () |
Protected Attributes | |
MagicDoc * | document |
Model * | model |
anonymous enum |
void Editor::ApplyMaterial | ( | Material * | material, |
List< Poly > & | polys, | ||
int | mapping, | ||
int | axis, | ||
float | scale_u, | ||
float | scale_v, | ||
int | flip, | ||
int | mirror, | ||
int | rotate | ||
) |
Definition at line 83 of file Editor.cpp.
void Editor::ApplyMaterialCylindrical | ( | Material * | material, |
List< Poly > & | polys, | ||
int | axis, | ||
float | scale_u, | ||
float | scale_v, | ||
int | flip, | ||
int | mirror, | ||
int | rotate | ||
) |
Definition at line 209 of file Editor.cpp.
void Editor::ApplyMaterialSpherical | ( | Material * | material, |
List< Poly > & | polys, | ||
int | axis, | ||
float | scale_u, | ||
float | scale_v, | ||
int | flip, | ||
int | mirror, | ||
int | rotate | ||
) |
Definition at line 285 of file Editor.cpp.
void Editor::Resegment | ( | ) |
Definition at line 308 of file Editor.cpp.