-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
74 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Numerics; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace TruckLib.Sii | ||
{ | ||
/// <summary> | ||
/// Represents the placement type used in SII files. | ||
/// </summary> | ||
/// <remarks>I don't know what this does, beyond that it's apparently being used for | ||
/// Winter Wonderland portals, so the property names are a complete guess.</remarks> | ||
public struct Placement | ||
{ | ||
public Vector3 Position { get; set; } | ||
|
||
public Quaternion Rotation { get; set; } | ||
|
||
public Placement(Vector3 position, Quaternion rotation) | ||
{ | ||
Position = position; | ||
Rotation = rotation; | ||
} | ||
} | ||
} |
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