constants moved
This commit is contained in:
parent
0f7882d3fb
commit
7b334b33c0
3 changed files with 96 additions and 56 deletions
15
src/states/linear/constants.rs
Normal file
15
src/states/linear/constants.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use crate::FACTOR;
|
||||
use bevy::color::Color;
|
||||
|
||||
pub const CENTER_X: f32 = 0.0;
|
||||
pub const CENTER_Y: f32 = 0.0;
|
||||
|
||||
// pub const FACTOR_RADIUS: f32 = FACTOR as f32 / 2.0;
|
||||
|
||||
pub const STEP: f32 = FACTOR as f32 / SCALE;
|
||||
pub const SCALE: f32 = 2.0;
|
||||
|
||||
//COLORS
|
||||
pub const PINK: Color = Color::srgb_u8(250, 0, 155);
|
||||
pub const BLUE: Color = Color::srgb_u8(0, 0, 255);
|
||||
pub const GREEN: Color = Color::srgb_u8(0, 255, 0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue