Проектная работа - WIP
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
use std::f32::consts::PI;
|
||||||
|
|
||||||
|
use bevy::transform::components::Transform;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_saturating_sub() {
|
fn test_saturating_sub() {
|
||||||
let a: usize = 10;
|
let a: usize = 10;
|
||||||
@@ -43,3 +47,9 @@ fn test_ranges() {
|
|||||||
dbg!(x);
|
dbg!(x);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_transform() {
|
||||||
|
dbg!(Transform::default());
|
||||||
|
dbg!(Transform::default().rotate_z(PI / 2.0));
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user