Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/nodes.h
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | public: | ||||
| float3 rotation; | float3 rotation; | ||||
| float3 scale; | float3 scale; | ||||
| float3 min, max; | float3 min, max; | ||||
| bool use_minmax; | bool use_minmax; | ||||
| enum Type { POINT = 0, TEXTURE = 1, VECTOR = 2, NORMAL = 3 }; | enum Type { POINT = 0, TEXTURE = 1, VECTOR = 2, NORMAL = 3 }; | ||||
| Type type; | Type type; | ||||
| static ShaderEnum type_enum; | |||||
| enum Mapping { NONE = 0, X = 1, Y = 2, Z = 3 }; | enum Mapping { NONE = 0, X = 1, Y = 2, Z = 3 }; | ||||
| Mapping x_mapping, y_mapping, z_mapping; | Mapping x_mapping, y_mapping, z_mapping; | ||||
| static ShaderEnum mapping_enum; | |||||
| enum Projection { FLAT, CUBE, TUBE, SPHERE }; | enum Projection { FLAT, CUBE, TUBE, SPHERE }; | ||||
| Projection projection; | Projection projection; | ||||
| static ShaderEnum projection_enum; | |||||
| bool equals(const TextureMapping& other) { | bool equals(const TextureMapping& other) { | ||||
| return translation == other.translation && | return translation == other.translation && | ||||
| rotation == other.rotation && | rotation == other.rotation && | ||||
| scale == other.scale && | scale == other.scale && | ||||
| use_minmax == other.use_minmax && | use_minmax == other.use_minmax && | ||||
| min == other.min && | min == other.min && | ||||
| max == other.max && | max == other.max && | ||||
| ▲ Show 20 Lines • Show All 947 Lines • Show Last 20 Lines | |||||