Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_rotate_instances.cc
| Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | |||||
| } // namespace blender::nodes::node_geo_rotate_instances_cc | } // namespace blender::nodes::node_geo_rotate_instances_cc | ||||
| void register_node_type_geo_rotate_instances() | void register_node_type_geo_rotate_instances() | ||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_geo_rotate_instances_cc; | namespace file_ns = blender::nodes::node_geo_rotate_instances_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| geo_node_type_base( | geo_node_type_base(&ntype, GEO_NODE_ROTATE_INSTANCES, "Rotate Instances", NODE_CLASS_GEOMETRY); | ||||
| &ntype, GEO_NODE_ROTATE_INSTANCES, "Rotate Instances", NODE_CLASS_GEOMETRY, 0); | |||||
| ntype.geometry_node_execute = file_ns::node_geo_exec; | ntype.geometry_node_execute = file_ns::node_geo_exec; | ||||
| ntype.declare = file_ns::node_declare; | ntype.declare = file_ns::node_declare; | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||