summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-12-19 03:57:22 -0600
committerepoch <epoch@hacking.allowed.org>2017-12-19 03:57:22 -0600
commit1069c59f786cced9a8ef7d8bd492acf2db6e1091 (patch)
treeee948771aefc3fc7e459d898fa43b7a07e735ab5 /src
parent81a659788768400a6e2d22b588466794d91686fc (diff)
downloadhackvr-1069c59f786cced9a8ef7d8bd492acf2db6e1091.tar.gz
hackvr-1069c59f786cced9a8ef7d8bd492acf2db6e1091.zip
added a note to anyone wanting to fiddle with some math
Diffstat (limited to 'src')
-rw-r--r--src/math.c2
1 files changed, 2 insertions, 0 deletions
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);