mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
improbed box rendering
This commit is contained in:
+13
-1
@@ -80,11 +80,23 @@ namespace vb01{
|
||||
return keyframeChannel.keyframes[pastKeyframeId + (last ? 0 : 1)];
|
||||
}
|
||||
|
||||
Keyframe KeyframeChannel::createKeyframe(KeyframeInterpolation interpolation, float value, float frame) {
|
||||
Keyframe KeyframeChannel::createKeyframe(
|
||||
KeyframeInterpolation interpolation,
|
||||
float value,
|
||||
float frame,
|
||||
float leftHandleValue,
|
||||
float leftHandleFrame,
|
||||
float rightHandleValue,
|
||||
float rightHandleFrame)
|
||||
{
|
||||
Keyframe keyframe;
|
||||
keyframe.interpolation = interpolation;
|
||||
keyframe.frame = frame;
|
||||
keyframe.value = value;
|
||||
keyframe.leftHandleValue = leftHandleValue;
|
||||
keyframe.leftHandleFrame = leftHandleFrame;
|
||||
keyframe.rightHandleValue = rightHandleValue;
|
||||
keyframe.rightHandleFrame = rightHandleFrame;
|
||||
return keyframe;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user