Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/client/webgpu/editor.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@
(.writeBuffer (.-queue device) camera-buffer 0 floats))


(defn draw-frame! [^js device ^js context text-sys rect-sys camera-floats _ignored_pass_descriptor pan-x pan-y w h]
(update-camera device (:camera-uniform-buffer text-sys) camera-floats pan-x pan-y 1.0 w h)
(defn draw-frame! [^js device ^js context text-sys rect-sys camera-floats _ignored_pass_descriptor pan-x pan-y zoom w h]
(update-camera device (:camera-uniform-buffer text-sys) camera-floats pan-x pan-y zoom w h)

(let [encoder (.createCommandEncoder device)
texture (.getCurrentTexture context)
Expand Down
Loading
Loading