Add a renderer system with temp assets #60

Closed
CoCo_Sol wants to merge 40 commits from renderer into main
Showing only changes of commit 4b1f7008fd - Show all commits

View file

@ -248,8 +248,8 @@ impl<T: Number> HexPosition<T> {
/// # Example /// # Example
/// ///
/// ```no_run /// ```no_run
/// use border_wars::map::hex::HexPosition;
/// use bevy::math::Vec2; /// use bevy::math::Vec2;
/// use border_wars::map::hex::HexPosition;
/// ///
/// let position = HexPosition(1, 0); /// let position = HexPosition(1, 0);
/// assert_eq!(position.to_pixel_coordinates(), (3f32.sqrt(), 0.0).into()); /// assert_eq!(position.to_pixel_coordinates(), (3f32.sqrt(), 0.0).into());