public Keyframe(double timeAnim, Matrix4x4 newLocalTransformation) { oldLocalTransformation = curLocalTransformation; curLocalTransformation = newLocalTransformation; this.timeAnim = timeAnim; } }