still working on getiting these shaders to a usable API
This commit is contained in:
@@ -79,7 +79,6 @@ pub fn main() {
|
||||
let mut accumulator_time: f32 = 0.0;
|
||||
let mut current_time: f32 = timer.elap_time();
|
||||
|
||||
|
||||
let image_data = load_raw(String::from("funky-bird.jpg"));
|
||||
let image_dimensions_f = ((image_data.1).0 as f32, (image_data.1).1 as f32);
|
||||
let image_dimensions_u = image_data.1;
|
||||
@@ -163,9 +162,11 @@ pub fn main() {
|
||||
}
|
||||
|
||||
let mut canvas = CanvasFrame::new();
|
||||
|
||||
canvas.draw(&funky_sprite);
|
||||
canvas.draw(&sfml_sprite);
|
||||
canvas.draw(&compu_sprite1);
|
||||
|
||||
// canvas.draw(&sfml_sprite);
|
||||
// canvas.draw(&compu_sprite1);
|
||||
|
||||
canvas.draw(&test_polygon);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user