Commit 216373bc authored by Luke Jones's avatar Luke Jones

First parse and load of tiled data

Signed-off-by: default avatarLuke Jones <jones_ld@protonmail.com>
parent 32bc6b38
Pipeline #68049149 passed with stages
in 4 minutes and 48 seconds
......@@ -5,3 +5,4 @@ authors = ["Luke Jones <luke@sphereidentity.com>"]
edition = "2018"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
use serde::{Deserialize, Serialize};
use std::convert::From;
use std::ops::{
Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAssign,
};
/// Representation of a mathematical vector e.g. a position or velocity
#[derive(Copy, Clone, Debug, PartialEq, PartialOrd, Eq, Default)]
#[derive(
Copy,
Clone,
Debug,
PartialEq,
PartialOrd,
Eq,
Default,
Serialize,
Deserialize,
)]
pub struct Vec2d<T> {
x: T,
y: T,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment