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