diff options
| author | Varuuna <medumee@gmail.com> | 2025-09-26 18:14:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-26 10:14:45 -0600 |
| commit | 72b5773d4d76385e330a62c100805fad2df1916e (patch) | |
| tree | 4f3498171f6985916c34b110778f2f27658d5120 /src/port/interpolation/FrameInterpolation.cpp | |
| parent | dbcf1acd2fa05f1303d88a8267566cb4f4fdb119 (diff) | |
Replace FrameInterpolation Pop/Push with RecordOpen/CloseChild (#542)
* Replaced Pop/Push for Yoshi Egg and Mario Sign actors
* Removed comments
* applied suggestions
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/port/interpolation/FrameInterpolation.cpp')
| -rw-r--r-- | src/port/interpolation/FrameInterpolation.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/port/interpolation/FrameInterpolation.cpp b/src/port/interpolation/FrameInterpolation.cpp index fdd01ff82..c13e0a5a1 100644 --- a/src/port/interpolation/FrameInterpolation.cpp +++ b/src/port/interpolation/FrameInterpolation.cpp @@ -686,13 +686,13 @@ void FrameInterpolation_RecordActorPosRotMatrix(void) { next_is_actor_pos_rot_matrix = true; } -void FrameInterpolation_RecordMatrixPush(Mat4* matrix) { - if (!check_if_recording()) { - return; - } - - append(Op::MatrixPush).matrix_ptr = { (Mat4**) matrix }; -} +//void FrameInterpolation_RecordMatrixPush(Mat4* matrix) { +// if (!check_if_recording()) { +// return; +// } +// +// append(Op::MatrixPush).matrix_ptr = { (Mat4**) matrix }; +//} void FrameInterpolation_RecordMarker(const char* file, int line) { if (!check_if_recording()) { @@ -702,12 +702,12 @@ void FrameInterpolation_RecordMarker(const char* file, int line) { append(Op::Marker).marker = { file, line }; } -void FrameInterpolation_RecordMatrixPop(Mat4* matrix) { - if (!check_if_recording()) { - return; - } - append(Op::MatrixPop).matrix_ptr = { (Mat4**) matrix }; -} +//void FrameInterpolation_RecordMatrixPop(Mat4* matrix) { +// if (!check_if_recording()) { +// return; +// } +// append(Op::MatrixPop).matrix_ptr = { (Mat4**) matrix }; +//} void FrameInterpolation_RecordMatrixPut(MtxF* src) { if (!check_if_recording()) { |
