forked from AGL/AGL_Simple_Impl
adjustments
This commit is contained in:
parent
0c86164b08
commit
7a19db7774
|
@ -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"}
|
||||
able_graphics_library = {git = "https://git.ablecorp.us:443/Able/able_graphics_library.git"}
|
||||
|
|
|
@ -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