Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/mesh.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | struct Curve { | ||||
| int num_segments() { return num_keys - 1; } | int num_segments() { return num_keys - 1; } | ||||
| void bounds_grow(const int k, const float4 *curve_keys, BoundBox& bounds) const; | void bounds_grow(const int k, const float4 *curve_keys, BoundBox& bounds) const; | ||||
| }; | }; | ||||
| /* Displacement */ | /* Displacement */ | ||||
| enum DisplacementMethod { | enum DisplacementMethod { | ||||
| DISPLACE_BUMP, | DISPLACE_BUMP = 0, | ||||
| DISPLACE_TRUE, | DISPLACE_TRUE = 1, | ||||
| DISPLACE_BOTH | DISPLACE_BOTH = 2, | ||||
| DISPLACE_NUM_METHODS, | |||||
| }; | }; | ||||
| ustring name; | ustring name; | ||||
| /* Mesh Data */ | /* Mesh Data */ | ||||
| enum GeometryFlags { | enum GeometryFlags { | ||||
| GEOMETRY_NONE = 0, | GEOMETRY_NONE = 0, | ||||
| GEOMETRY_TRIANGLES = (1 << 0), | GEOMETRY_TRIANGLES = (1 << 0), | ||||
| ▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines | |||||