Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/geometry_set.cc
| Show First 20 Lines • Show All 617 Lines • ▼ Show 20 Lines | GVArray NormalFieldInput::get_varray_for_context(const GeometryComponent &component, | ||||
| } | } | ||||
| else if (component.type() == GEO_COMPONENT_TYPE_CURVE) { | else if (component.type() == GEO_COMPONENT_TYPE_CURVE) { | ||||
| const CurveComponent &curve_component = static_cast<const CurveComponent &>(component); | const CurveComponent &curve_component = static_cast<const CurveComponent &>(component); | ||||
| return curve_normals_varray(curve_component, domain); | return curve_normals_varray(curve_component, domain); | ||||
| } | } | ||||
| return {}; | return {}; | ||||
| } | } | ||||
| GVArray NormalFieldInput::get_varray_for_context(const TextureFieldContext &context) const | |||||
| { | |||||
| /* TODO: implement. */ | |||||
| return {}; | |||||
| } | |||||
| std::string NormalFieldInput::socket_inspection_name() const | std::string NormalFieldInput::socket_inspection_name() const | ||||
| { | { | ||||
| return TIP_("Normal"); | return TIP_("Normal"); | ||||
| } | } | ||||
| uint64_t NormalFieldInput::hash() const | uint64_t NormalFieldInput::hash() const | ||||
| { | { | ||||
| return 213980475983; | return 213980475983; | ||||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||