|
@@ -69,7 +69,10 @@ public:
|
|
// Represents an AC3D material
|
|
// Represents an AC3D material
|
|
struct Material {
|
|
struct Material {
|
|
Material() :
|
|
Material() :
|
|
- rgb(0.6f, 0.6f, 0.6f), spec(1.f, 1.f, 1.f), shin(0.f), trans(0.f) {}
|
|
|
|
|
|
+ rgb(0.6f, 0.6f, 0.6f),
|
|
|
|
+ spec(1.f, 1.f, 1.f),
|
|
|
|
+ shin(0.f),
|
|
|
|
+ trans(0.f) {}
|
|
|
|
|
|
// base color of the material
|
|
// base color of the material
|
|
aiColor3D rgb;
|
|
aiColor3D rgb;
|
|
@@ -96,7 +99,8 @@ public:
|
|
// Represents an AC3D surface
|
|
// Represents an AC3D surface
|
|
struct Surface {
|
|
struct Surface {
|
|
Surface() :
|
|
Surface() :
|
|
- mat(0), flags(0) {}
|
|
|
|
|
|
+ mat(0),
|
|
|
|
+ flags(0) {}
|
|
|
|
|
|
unsigned int mat, flags;
|
|
unsigned int mat, flags;
|
|
|
|
|
|
@@ -107,7 +111,19 @@ public:
|
|
// Represents an AC3D object
|
|
// Represents an AC3D object
|
|
struct Object {
|
|
struct Object {
|
|
Object() :
|
|
Object() :
|
|
- type(World), name(""), children(), texture(""), texRepeat(1.f, 1.f), texOffset(0.0f, 0.0f), rotation(), translation(), vertices(), surfaces(), numRefs(0), subDiv(0), crease() {}
|
|
|
|
|
|
+ type(World),
|
|
|
|
+ name(""),
|
|
|
|
+ children(),
|
|
|
|
+ texture(""),
|
|
|
|
+ texRepeat(1.f, 1.f),
|
|
|
|
+ texOffset(0.0f, 0.0f),
|
|
|
|
+ rotation(),
|
|
|
|
+ translation(),
|
|
|
|
+ vertices(),
|
|
|
|
+ surfaces(),
|
|
|
|
+ numRefs(0),
|
|
|
|
+ subDiv(0),
|
|
|
|
+ crease() {}
|
|
|
|
|
|
// Type description
|
|
// Type description
|
|
enum Type {
|
|
enum Type {
|