adjustments
This commit is contained in:
parent
0c86164b08
commit
7a19db7774
|
@ -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!();
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Reference in a new issue