Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/mesh.cpp
| Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Lines | : Node(node_type) | ||||
| subd_attributes.subd_mesh = this; | subd_attributes.subd_mesh = this; | ||||
| geometry_flags = GEOMETRY_NONE; | geometry_flags = GEOMETRY_NONE; | ||||
| has_volume = false; | has_volume = false; | ||||
| has_surface_bssrdf = false; | has_surface_bssrdf = false; | ||||
| num_ngons = 0; | num_ngons = 0; | ||||
| subdivision_type = SUBDIVISION_NONE; | |||||
| } | } | ||||
| Mesh::~Mesh() | Mesh::~Mesh() | ||||
| { | { | ||||
| delete bvh; | delete bvh; | ||||
| } | } | ||||
| void Mesh::resize_mesh(int numverts, int numtris) | void Mesh::resize_mesh(int numverts, int numtris) | ||||
| ▲ Show 20 Lines • Show All 1,663 Lines • Show Last 20 Lines | |||||