summaryrefslogtreecommitdiff
path: root/thirdparty/libtheora/encint.h
diff options
context:
space:
mode:
authorYaohua Xiong <xiongyaohua@gmail.com>2022-08-07 18:29:12 +0800
committerYaohua Xiong <xiongyaohua@gmail.com>2022-11-12 12:03:54 +0800
commit5241464a462d4f7ab00ccf8cb4b59f4547fe6639 (patch)
treea5d5376603757fccf7b8854bb5d0ca5b5463902d /thirdparty/libtheora/encint.h
parent6521eccaaec2f8dd87373ee15a1fb0d889aef1fd (diff)
Refactor Curv3D and PathFollow3D
This commit makes the following major changes 1. Add "sample_baked_with_rotation()" to Curve3D, making it usable independently. A similar change was made to Curve2D previously. 2. Refactor the _bake() method on Curve3D, using Parallel Transport Frame instead of Frenet Frame. 3. Refactor the sample_* methods, including: i. Factor out common binary search code, following the DRY principe ii. sample_up_vector() interpolated up vector as part of rotation frame(posture) for consistancy and accuracy.
Diffstat (limited to 'thirdparty/libtheora/encint.h')
0 files changed, 0 insertions, 0 deletions