Updated fusion and molecules

This commit is contained in:
nik012003
2023-02-25 00:58:04 +01:00
committed by Nova
parent 8595199dcf
commit ba4e86ad79
2 changed files with 4 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ use protostar::{
protostar::ProtoStar,
xdg::{get_desktop_files, parse_desktop_file, DesktopFile},
};
use stardust_xr_molecules::fusion::{
use stardust_xr_fusion::{
client::{Client, FrameInfo, RootHandler},
core::values::Transform,
drawable::{Alignment, Bounds, Text, TextFit, TextStyle},

View File

@@ -3,8 +3,7 @@ use color_eyre::eyre::{eyre, Result};
use glam::Quat;
use mint::Vector3;
use nix::unistd::setsid;
use stardust_xr_molecules::{
fusion::{
use stardust_xr_fusion::{
client::{Client, FrameInfo, RootHandler},
core::values::Transform,
drawable::{MaterialParameter, Model, ResourceID},
@@ -12,9 +11,8 @@ use stardust_xr_molecules::{
node::NodeType,
spatial::Spatial,
startup_settings::StartupSettings,
},
GrabData, Grabbable,
};
use stardust_xr_molecules::{GrabData, Grabbable};
use std::os::unix::process::CommandExt;
use std::process::{Command, Stdio};
use std::{f32::consts::PI, sync::Arc};
@@ -106,7 +104,7 @@ impl ProtoStar {
Transform::default(),
&field,
GrabData {
max_distance: 0.025,
max_distance: 0.01,
..Default::default()
},
)?;