generated from tipragot/rust
Add a renderer system with temp assets #60
|
@ -248,8 +248,8 @@ impl<T: Number> HexPosition<T> {
|
|||
/// # Example
|
||||
///
|
||||
/// ```no_run
|
||||
/// use border_wars::map::hex::HexPosition;
|
||||
/// use bevy::math::Vec2;
|
||||
/// use border_wars::map::hex::HexPosition;
|
||||
///
|
||||
/// let position = HexPosition(1, 0);
|
||||
/// assert_eq!(position.to_pixel_coordinates(), (3f32.sqrt(), 0.0).into());
|
||||
|
|
Loading…
Reference in a new issue