adjustments

This commit is contained in:
Able 2021-11-28 20:34:27 -06:00
parent 0c86164b08
commit 7a19db7774
3 changed files with 3 additions and 5 deletions

View file

@ -41,8 +41,6 @@ impl AglApi for GraphicsRenderer {
self.buff[coordinates as usize] = color; self.buff[coordinates as usize] = color;
} }
// todo!();
} }
fn put_rect(&mut self, coords_start: Point, coords_end: Point, color: RGBA) { fn put_rect(&mut self, coords_start: Point, coords_end: Point, color: RGBA) {
todo!(); todo!();

View file

@ -72,8 +72,8 @@ fn main() {
); );
xyz.put_line( xyz.put_line(
Point { x: 0, y: 0 }, Point { x: 1, y: 300 },
Point { x: 300, y: 200 }, Point { x: 1, y: 200 },
1, 1,
RGBA { RGBA {
r: 0, r: 0,