Skip to content

Commit edb72bd

Browse files
authored
orbitdeg (#7355)
#changelog #math
1 parent c382ed2 commit edb72bd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • tests/math/ofNodeRegressionTests/src

tests/math/ofNodeRegressionTests/src/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ofApp: public ofxUnitTestsApp{
4343
{
4444
ofLogNotice() << "start orbit test";
4545
ofNode n1;
46-
n1.orbit(45, 45, 100);
46+
n1.orbitDeg(45, 45, 100);
4747
auto pos = n1.getGlobalPosition();
4848
auto orient = n1.getGlobalOrientation();
4949

@@ -58,9 +58,9 @@ class ofApp: public ofxUnitTestsApp{
5858
ofNode n1;
5959
ofNode n2;
6060
n2.setParent(n1);
61-
n1.orbit(90, 0, 100);
61+
n1.orbitDeg(90, 0, 100);
6262
n2.truck(-100.f);
63-
n2.orbit(90, 0, 100, n1);
63+
n2.orbitDeg(90, 0, 100, n1);
6464

6565
auto pos1 = n1.getGlobalPosition();
6666
auto orient1 = n1.getGlobalOrientation();
@@ -83,7 +83,7 @@ class ofApp: public ofxUnitTestsApp{
8383
mNode1 = mNode2;
8484
float angle = 47;
8585

86-
mNode2.orbit(angle, 0, 100, mNode);
86+
mNode2.orbitDeg(angle, 0, 100, mNode);
8787

8888
mNode1.dolly(100);
8989
mNode1.rotateAround(ofQuaternion(angle, { 0.f,1.f,0.f }), mNode.getGlobalPosition());

0 commit comments

Comments
 (0)