From 1069c59f786cced9a8ef7d8bd492acf2db6e1091 Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 19 Dec 2017 03:57:22 -0600 Subject: added a note to anyone wanting to fiddle with some math --- src/math.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/math.c b/src/math.c index 3993223..75ec93c 100644 --- a/src/math.c +++ b/src/math.c @@ -36,6 +36,8 @@ c3_t rotate_c3_zr(c3_t p1,c3_t p2,radians zr) {//rotate x and y around camera ba //cos(0) = 1 //cos(90deg) = 0 //// rotate first point about second point +// if you pass (1,0),(0,0),0 it should output 1,0 +// if you pass (0,1),(0,0),0 it should output 0,1 c2_t rotate_c2(c2_t p1,c2_t p2,radians dr) { c2_t p3; real d=distance2(p1,p2); -- cgit v1.2.3