Skip to content

Commit

Permalink
Fix errors in diamond_iso shader (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Jul 26, 2023
1 parent b87874e commit fbda80c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/render/shaders/diamond_iso.wgsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#define_import_path bevy_ecs_tilemap::diamond_iso

#import bevy_ecs_tilemap::common VertexInput, tilemap_data, mesh
#import bevy_ecs_tilemap::mesh_output MeshOutput

const DIAMOND_BASIS_X: vec2<f32> = vec2<f32>(0.5, -0.5);
const DIAMOND_BASIS_Y: vec2<f32> = vec2<f32>(0.5, 0.5);

Expand Down

0 comments on commit fbda80c

Please sign in to comment.