refactor: use snake case for method names

This commit is contained in:
Nova
2022-11-08 06:10:03 -05:00
parent 3821e14fbd
commit 3cdb6da09c
16 changed files with 54 additions and 51 deletions

View File

@@ -30,7 +30,7 @@ impl SphereField {
radius: AtomicF32::new(radius),
};
sphere_field.add_field_methods(node);
node.add_local_signal("setRadius", SphereField::set_radius_flex);
node.add_local_signal("set_radius", SphereField::set_radius_flex);
let _ = node.field.set(Arc::new(Field::Sphere(sphere_field)));
Ok(())
}