Updated fusion and molecules
This commit is contained in:
@@ -6,7 +6,7 @@ use protostar::{
|
|||||||
protostar::ProtoStar,
|
protostar::ProtoStar,
|
||||||
xdg::{get_desktop_files, parse_desktop_file, DesktopFile},
|
xdg::{get_desktop_files, parse_desktop_file, DesktopFile},
|
||||||
};
|
};
|
||||||
use stardust_xr_molecules::fusion::{
|
use stardust_xr_fusion::{
|
||||||
client::{Client, FrameInfo, RootHandler},
|
client::{Client, FrameInfo, RootHandler},
|
||||||
core::values::Transform,
|
core::values::Transform,
|
||||||
drawable::{Alignment, Bounds, Text, TextFit, TextStyle},
|
drawable::{Alignment, Bounds, Text, TextFit, TextStyle},
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ use color_eyre::eyre::{eyre, Result};
|
|||||||
use glam::Quat;
|
use glam::Quat;
|
||||||
use mint::Vector3;
|
use mint::Vector3;
|
||||||
use nix::unistd::setsid;
|
use nix::unistd::setsid;
|
||||||
use stardust_xr_molecules::{
|
use stardust_xr_fusion::{
|
||||||
fusion::{
|
|
||||||
client::{Client, FrameInfo, RootHandler},
|
client::{Client, FrameInfo, RootHandler},
|
||||||
core::values::Transform,
|
core::values::Transform,
|
||||||
drawable::{MaterialParameter, Model, ResourceID},
|
drawable::{MaterialParameter, Model, ResourceID},
|
||||||
@@ -12,9 +11,8 @@ use stardust_xr_molecules::{
|
|||||||
node::NodeType,
|
node::NodeType,
|
||||||
spatial::Spatial,
|
spatial::Spatial,
|
||||||
startup_settings::StartupSettings,
|
startup_settings::StartupSettings,
|
||||||
},
|
|
||||||
GrabData, Grabbable,
|
|
||||||
};
|
};
|
||||||
|
use stardust_xr_molecules::{GrabData, Grabbable};
|
||||||
use std::os::unix::process::CommandExt;
|
use std::os::unix::process::CommandExt;
|
||||||
use std::process::{Command, Stdio};
|
use std::process::{Command, Stdio};
|
||||||
use std::{f32::consts::PI, sync::Arc};
|
use std::{f32::consts::PI, sync::Arc};
|
||||||
@@ -106,7 +104,7 @@ impl ProtoStar {
|
|||||||
Transform::default(),
|
Transform::default(),
|
||||||
&field,
|
&field,
|
||||||
GrabData {
|
GrabData {
|
||||||
max_distance: 0.025,
|
max_distance: 0.01,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
)?;
|
)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user