Skip to content

Commit

Permalink
Ensure clipmap updates on first display
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Aug 24, 2018
1 parent 2e9b2c8 commit 082ca45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geometry-clipmap.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
(defvar *default-clipmap-resolution* 128)

(define-shader-entity geometry-clipmap (located-entity)
((previous-update-location :initform (vec2 0 0) :accessor previous-update-location)
((previous-update-location :initform (vec2 most-positive-single-float most-positive-single-float)
:accessor previous-update-location)
(clipmap-block :accessor clipmap-block)
(levels :initarg :levels :accessor levels)
(resolution :initarg :resolution :accessor resolution)
Expand Down

0 comments on commit 082ca45

Please sign in to comment.