Generalize tiles per chunk row
This commit is contained in:
@@ -13,6 +13,8 @@ pub struct CameraState {
|
||||
rotate_right: bool,
|
||||
}
|
||||
|
||||
const SPEED: f32 = 1.0; //1.0;
|
||||
|
||||
impl CameraState {
|
||||
pub fn new() -> CameraState {
|
||||
CameraState {
|
||||
@@ -118,8 +120,6 @@ impl CameraState {
|
||||
s.0 * f.1 - s.1 * f.0,
|
||||
);
|
||||
|
||||
const SPEED: f32 = 100.0; //1.0;
|
||||
|
||||
if self.moving_up {
|
||||
self.position.0 += u.0 * SPEED;
|
||||
self.position.1 += u.1 * SPEED;
|
||||
|
||||
Reference in New Issue
Block a user