Code refactor: nodify object and mesh, but not used for XML yet.
Differential Revision: https://developer.blender.org/D2016
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#define __MESH_H__
|
||||
|
||||
#include "attribute.h"
|
||||
#include "node.h"
|
||||
#include "shader.h"
|
||||
|
||||
#include "util_boundbox.h"
|
||||
@@ -42,8 +43,10 @@ class DiagSplit;
|
||||
|
||||
/* Mesh */
|
||||
|
||||
class Mesh {
|
||||
class Mesh : public Node {
|
||||
public:
|
||||
NODE_DECLARE;
|
||||
|
||||
/* Mesh Triangle */
|
||||
struct Triangle {
|
||||
int v[3];
|
||||
@@ -95,8 +98,6 @@ public:
|
||||
DISPLACE_NUM_METHODS,
|
||||
};
|
||||
|
||||
ustring name;
|
||||
|
||||
/* Mesh Data */
|
||||
enum GeometryFlags {
|
||||
GEOMETRY_NONE = 0,
|
||||
|
Reference in New Issue
Block a user