-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved: TOD Animations Support. Added: Gizmo Position Manipulators. Added: Merged Exporting Mode. Fixed: Misc. Issues.
- Loading branch information
Showing
37 changed files
with
1,604 additions
and
1,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,45 @@ | ||
using OpenTK; | ||
using System.ComponentModel; | ||
|
||
namespace PSXPrev | ||
{ | ||
public class AnimationFrame | ||
{ | ||
public bool? AbsoluteMatrix { get; set; } | ||
public Vector3? Rotation { get; set; } | ||
[Browsable(false)] | ||
public AnimationObject AnimationObject { get; set; } | ||
[Browsable(false)] | ||
public bool AbsoluteMatrix { get; set; } | ||
[Browsable(false)] | ||
public Quaternion? Rotation { get; set; } | ||
[Browsable(false)] | ||
public Vector3? EulerRotation { get; set; } | ||
[Browsable(false)] | ||
public Vector3? Scale { get; set; } | ||
[Browsable(false)] | ||
public Vector3? Translation { get; set; } | ||
public Matrix4? Matrix { get; set; } | ||
|
||
[ReadOnly(true)] | ||
public int FrameTime { get; set; } | ||
|
||
public float RotationX => Rotation?.X ?? 0f; | ||
|
||
|
||
public float RotationY => Rotation?.Y ?? 0f; | ||
|
||
public float RotationZ => Rotation?.Z ?? 0f; | ||
|
||
public float ScaleX => Scale?.X ?? 0f; | ||
|
||
|
||
public float ScaleY => Scale?.Y ?? 0f; | ||
|
||
public float ScaleZ => Scale?.Z ?? 0f; | ||
|
||
public float PositionX => Translation?.X ?? 0f; | ||
|
||
|
||
public float PositionY => Translation?.Y ?? 0f; | ||
|
||
public float PositionZ => Translation?.Z ?? 0f; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.