Commit Graph

34 Commits

Author SHA1 Message Date
Emma Broman
aa0ae9bc73 rename function valueAt to positionAt 2020-02-27 10:07:51 -05:00
Emma Broman
3282f08ae6 remove extra blank line 2020-02-17 13:56:15 -05:00
Emma Broman
566b9959ec Minor refactor 2020-02-17 10:51:56 -05:00
Emma Broman
65cf8a79da Rename interpolation parameter to u, to reduce confusion about what is related to time 2020-02-17 10:30:36 -05:00
Emma Broman
caa05d09bd Refactor speed function 2020-02-14 11:20:59 -05:00
Emma Broman
32139120f8 Speed function for acceleration and deacceleration 2020-02-14 10:41:47 -05:00
Emma Broman
9600459635 Move along curve with constant speed, based on displacement along the curve 2020-02-13 16:22:57 -05:00
Emma Broman
1f2840c320 Preparatory refactoring for computing curve position absed on travelled distance 2020-02-13 14:37:08 -05:00
Emma Broman
3ead8a92dd Reparameterization of Bezier3 now works 2020-02-12 15:34:14 -05:00
Emma Broman
ffe417823f Refactor piecewise slerp a bit 2020-02-11 11:49:07 -05:00
Lingis
2370679fce Removed Bezier, Bezier2 and Linear2 curve types 2020-02-05 16:41:29 -05:00
Emma Broman
2b00e3054b Remove forgotten comment 2020-02-05 13:47:11 -05:00
Emma Broman
750ce7f948 Replace lookAtRotation to a version that also works with navigationStates 2020-02-05 11:28:46 -05:00
Emma Broman
6acbee90f7 Resolve merge conflict 2020-02-04 18:10:02 -05:00
Emma Broman
d60ff85b5a Remove custom easing functions. Use ghoul's instead 2020-02-04 18:07:47 -05:00
Emma Broman
40d634d249 Fix precision error by getPosition returning vec3 instead of dvec3 2020-02-03 17:11:36 -05:00
Lingis
cf8472cf34 Added accessors for rendering control points, for debugging 2020-02-03 11:19:31 -05:00
Lingis
9709a9c171 Merge 2020-01-26 17:39:24 -05:00
Lingis
c1c96cd81d Bezier3 with more special cases handled and lookAt rotation 2020-01-26 17:22:25 -05:00
Emma Broman
c44fff4b22 Temporary solution for handling pauses in instruction 2020-01-24 11:07:25 -05:00
Emma Broman
4ef577adf5 Resolve merge conflict in PathSegment constructor 2020-01-23 16:11:29 -05:00
Emma Broman
5fb34e24f8 Add posibility to include a start navigation state in path spec 2020-01-23 16:07:56 -05:00
Lingis
88b7dbe3eb merge conflict fix 2020-01-23 15:48:55 -05:00
Lingis
4507ac69fe Bezier3 added and set as default curve 2020-01-23 15:37:10 -05:00
Emma Broman
54dac17bfc Minor refactor 2020-01-22 11:17:40 -05:00
Emma Broman
a197ed0e7f Member variable for curve length and prepare for duration to be based on curve length 2020-01-22 11:09:05 -05:00
Emma Broman
146fc4ce8d Approximate curve length 2020-01-22 11:02:34 -05:00
Emma Broman
b528c6d4ab Refactor helper interpolating functions a bit 2020-01-16 14:38:12 -05:00
Emma Broman
b9a34cd0f0 Fix issues with circular dependencies 2020-01-16 14:21:50 -05:00
Emma Broman
6a6d2ca973 Split path curve code into separate file 2020-01-16 10:30:13 -05:00
Emma Broman
83037f8c47 Refactor path curve generation in PathSegment 2020-01-15 18:36:10 -05:00
Emma Broman
d1b3e4e7ce cleanup path segment creation and move duration default to PathSegment 2020-01-15 14:12:04 -05:00
Emma Broman
a34d3473b8 Resolve merge conflict and make accessors in PathSegement read-only 2020-01-15 11:56:18 -05:00
Emma Broman
0a984df58c Add code for different path segments from Ingelas old branch 2020-01-10 15:48:37 -05:00