diff options
-rw-r--r-- | chickadee/math/vector.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee/math/vector.scm b/chickadee/math/vector.scm index 0a54128..b2ff265 100644 --- a/chickadee/math/vector.scm +++ b/chickadee/math/vector.scm @@ -195,12 +195,12 @@ polar coordinate (R, THETA) with an arbitrary ORIGIN point." (set-vec3-z! v z)) (define (display-vec2 v port) - (format port "#<vec2 x: ~f y: ~f>" (vec2-x v) (vec2-y v))) + (format port "#<vec2 ~f, ~f>" (vec2-x v) (vec2-y v))) (set-record-type-printer! <vec2> display-vec2) (define (display-vec3 v port) - (format port "#<vec3 x: ~f y: ~f z: ~f>" (vec3-x v) (vec3-y v) (vec3-z v))) + (format port "#<vec3 ~f, ~f, ~f>" (vec3-x v) (vec3-y v) (vec3-z v))) (set-record-type-printer! <vec3> display-vec3) |