diff options
author | David Thompson <dthompson2@worcester.edu> | 2019-10-24 08:25:40 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-10-24 08:25:40 -0400 |
commit | 398ecbdc65ed1d0ed7bbc39eb121f165c8b0039c (patch) | |
tree | fadbeed69888c788321dd0827bfee3d465215c27 | |
parent | c17513d6edf5d3d754eb08062f663c0060419360 (diff) |
examples: model: Remove bad code left in accidentally.
-rw-r--r-- | examples/model.scm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/model.scm b/examples/model.scm index cc73918..5980e85 100644 --- a/examples/model.scm +++ b/examples/model.scm @@ -8,7 +8,6 @@ (ice-9 format)) (define projection (perspective-projection (/ pi 3) (/ 4.0 3.0) 0.1 500.0)) -(define rotation (make-identity-matrix4)) (define translation (make-identity-matrix4)) (define view-matrix (make-identity-matrix4)) (define model-matrix (make-identity-matrix4)) @@ -49,10 +48,8 @@ (vec3-z position))) ;; Compute new view matrix - (matrix4-rotate-y! rotation theta) (matrix4-translate! translation position) (matrix4-identity! view-matrix) - (matrix4-mult! view-matrix view-matrix rotation) (matrix4-mult! view-matrix view-matrix translation) ;; Rotate the model about the y-axis |