feat(drawable): text

This commit is contained in:
Nova
2022-09-26 07:09:37 -04:00
parent 2a5c11c0f0
commit 12668419ce
6 changed files with 236 additions and 10 deletions

View File

@@ -163,7 +163,7 @@ pub fn draw_all(sk: &StereoKit, draw_ctx: &DrawContext) {
}
}
pub fn create(_node: &Node, calling_client: Arc<Client>, data: &[u8]) -> Result<()> {
pub fn create_flex(_node: &Node, calling_client: Arc<Client>, data: &[u8]) -> Result<()> {
let flex_vec = flexbuffers::Reader::get_root(data)?.get_vector()?;
let node = Node::create(
&calling_client,