mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
cargo fmt
This commit is contained in:
parent
c908f19989
commit
62f34669e1
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ impl QuadBufferBuilder {
|
||||||
min_y: f32,
|
min_y: f32,
|
||||||
max_x: f32,
|
max_x: f32,
|
||||||
max_y: f32,
|
max_y: f32,
|
||||||
color: [f32; 3]
|
color: [f32; 3],
|
||||||
) -> Self {
|
) -> Self {
|
||||||
self.vertex_data.extend(&[
|
self.vertex_data.extend(&[
|
||||||
Vertex {
|
Vertex {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Taken from https://github.com/sotrh/learn-wgpu
|
// Taken from https://github.com/sotrh/learn-wgpu
|
||||||
// by Benjamin Hansen, licensed under the MIT license
|
// by Benjamin Hansen, licensed under the MIT license
|
||||||
use cgmath::{Vector2};
|
use cgmath::Vector2;
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub struct Vertex {
|
pub struct Vertex {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue