diff --git a/Cargo.toml b/Cargo.toml index f4d7c0c..d37146a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,4 @@ edition = "2018" [dependencies] mini_gl_fb = "0.9.0" -able_graphics_library = {git = "https://git.ablecorp.us:443/Able/able_graphics_library.git"} \ No newline at end of file +able_graphics_library = {git = "https://git.ablecorp.us:443/Able/able_graphics_library.git"} diff --git a/src/graphics_api_impl.rs b/src/graphics_api_impl.rs index 3a0e760..c11da3c 100644 --- a/src/graphics_api_impl.rs +++ b/src/graphics_api_impl.rs @@ -41,8 +41,6 @@ impl AglApi for GraphicsRenderer { self.buff[coordinates as usize] = color; } - - // todo!(); } fn put_rect(&mut self, coords_start: Point, coords_end: Point, color: RGBA) { todo!(); diff --git a/src/main.rs b/src/main.rs index e52eeb8..a3fb635 100644 --- a/src/main.rs +++ b/src/main.rs @@ -72,8 +72,8 @@ fn main() { ); xyz.put_line( - Point { x: 0, y: 0 }, - Point { x: 300, y: 200 }, + Point { x: 1, y: 300 }, + Point { x: 1, y: 200 }, 1, RGBA { r: 0,