Skip to content

Commit

Permalink
WASM版の不具合( #35 )に一次対応した
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoi committed Aug 24, 2024
1 parent b5f6e97 commit 60682a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/tigtag/src/template/misc/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn spawn_camera_2d( mut cmds: Commands )
.insert( Camera
{ order: CAMERA_ORDER_DEFAULT_2D,
clear_color: CAMERA_BGCOLOR_2D,
viewport,
// viewport,
..default()
} )
.insert( Transform::from_translation( CAMERA_POSITION_DEFAULT_2D ) )
Expand Down Expand Up @@ -56,7 +56,7 @@ pub fn spawn_camera_3d( mut cmds: Commands )
.insert( Camera
{ order: CAMERA_ORDER_DEFAULT_3D,
clear_color: CAMERA_BGCOLOR_3D,
viewport,
// viewport,
..default()
} )
.insert( Transform::from_translation( vec3 ).looking_at( Vec3::ZERO, Vec3::Y ) )
Expand Down
Binary file modified wasm/tigtag_bg.wasm
Binary file not shown.

0 comments on commit 60682a5

Please sign in to comment.