From 6e95738aa0f3c532f0848fc2ef7062d7ef50c7e9 Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Sat, 19 Nov 2016 14:13:36 +0100 Subject: [PATCH] fix vec doc --- vec.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vec.go b/vec.go index dae15ef..fb48076 100644 --- a/vec.go +++ b/vec.go @@ -19,13 +19,13 @@ import ( // Add and subtract them using the standard + and - operators: // // w := u + v -// fmt.Println(w) // Vec2(9, -1) -// fmt.Println(u - v) // Vec2(-7, 5) +// fmt.Println(w) // Vec(9, -1) +// fmt.Println(u - v) // Vec(-7, 5) // // Additional standard vector operations can be obtained with methods: // -// u := pixel.Vec(2, 3) -// v := pixel.Vec(8, 1) +// u := pixel.V(2, 3) +// v := pixel.V(8, 1) // if u.X() < 0 { // fmt.Println("this won't happend") // } -- GitLab