chore: use the new asteroids name
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -18,4 +18,4 @@ tokio = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
stardust-xr-fusion = { workspace = true }
|
||||
stardust-xr-molecules = { workspace = true }
|
||||
asteroids = { workspace = true }
|
||||
stardust-xr-asteroids = { workspace = true }
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
use asteroids::elements::{
|
||||
Grabbable, Lines, Model, ModelPart, PointerMode, Text, line_from_points,
|
||||
};
|
||||
use asteroids::{CustomElement, Element, Reify, Transformable};
|
||||
use glam::{Quat, Vec3};
|
||||
use mint::{Quaternion, Vector3};
|
||||
use protostar::application::Application;
|
||||
use protostar::xdg::{DesktopFile, Icon, IconType};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use stardust_xr_fusion::drawable::{Line, LinePoint, TextBounds, TextFit};
|
||||
use stardust_xr_asteroids::elements::{
|
||||
Grabbable, Lines, Model, ModelPart, PointerMode, Text, line_from_points,
|
||||
};
|
||||
use stardust_xr_asteroids::{CustomElement, Element, Reify, Transformable};
|
||||
use stardust_xr_fusion::drawable::{TextBounds, TextFit};
|
||||
use stardust_xr_fusion::node::NodeError;
|
||||
use stardust_xr_fusion::values::ResourceID;
|
||||
use stardust_xr_fusion::values::color::rgba_linear;
|
||||
use stardust_xr_fusion::{
|
||||
drawable::{MaterialParameter, XAlign, YAlign},
|
||||
fields::{CylinderShape, Shape},
|
||||
@@ -153,8 +152,8 @@ impl Reify for App {
|
||||
anchor_align_x: XAlign::Center,
|
||||
anchor_align_y: YAlign::Bottom,
|
||||
})
|
||||
.text_align_x(XAlign::Center)
|
||||
.text_align_y(YAlign::Bottom)
|
||||
.align_x(XAlign::Center)
|
||||
.align_y(YAlign::Bottom)
|
||||
.pos([0.0, -APP_SIZE * 0.35, 0.002])
|
||||
.build(),
|
||||
),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use asteroids::{CustomElement, ValidState};
|
||||
use stardust_xr_asteroids::{CustomElement, ValidState};
|
||||
use protostar::application::Application;
|
||||
use stardust_xr_fusion::{
|
||||
node::{NodeError, NodeType},
|
||||
@@ -23,8 +23,8 @@ impl<State: ValidState> CustomElement<State> for AppLauncher<State> {
|
||||
|
||||
fn create_inner(
|
||||
&self,
|
||||
_asteroids_context: &asteroids::Context,
|
||||
info: asteroids::CreateInnerInfo,
|
||||
_asteroids_context: &stardust_xr_asteroids::Context,
|
||||
info: stardust_xr_asteroids::CreateInnerInfo,
|
||||
_resource: &mut Self::Resource,
|
||||
) -> Result<Self::Inner, Self::Error> {
|
||||
let spatial = Spatial::create(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use asteroids::{ClientState, CustomElement, Element, Migrate, Reify, client, elements::Spatial};
|
||||
use stardust_xr_asteroids::{ClientState, CustomElement, Element, Migrate, Reify, client, elements::Spatial};
|
||||
use clap::Parser;
|
||||
use protostar::xdg::DesktopFile;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
Reference in New Issue
Block a user