refactor(spatial): rename get_*_flex to parse_
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use super::fields::Field;
|
||||
use super::spatial::{get_spatial_parent_flex, get_transform_pose_flex, Spatial};
|
||||
use super::spatial::{get_spatial_parent_flex, parse_pose, Spatial};
|
||||
use super::{Alias, Node};
|
||||
use crate::core::client::Client;
|
||||
use crate::core::nodelist::LifeLinkedNodeList;
|
||||
@@ -287,7 +287,7 @@ pub fn create_pulse_receiver_flex(
|
||||
true,
|
||||
);
|
||||
let parent = get_spatial_parent_flex(&calling_client, flex_vec.idx(1).get_str()?)?;
|
||||
let transform = get_transform_pose_flex(flex_vec.idx(2), flex_vec.idx(3))?;
|
||||
let transform = parse_pose(flex_vec.idx(2), flex_vec.idx(3))?;
|
||||
let field = calling_client
|
||||
.scenegraph
|
||||
.get_node(flex_vec.idx(4).as_str())
|
||||
|
||||
Reference in New Issue
Block a user