Noise surface
This commit is contained in:
+2
-2
@@ -37,8 +37,8 @@ pub fn move_cursor(
|
||||
return;
|
||||
};
|
||||
transform.1.translation = Vec3::new(
|
||||
((point.x / (TILE_SIZE)+0.5).floor()) * TILE_SIZE,
|
||||
((point.y / (TILE_SIZE)+0.5).floor()) * TILE_SIZE,
|
||||
((point.x / (TILE_SIZE) + 0.5).floor()) * TILE_SIZE,
|
||||
((point.y / (TILE_SIZE) + 0.5).floor()) * TILE_SIZE,
|
||||
100.0,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user