docs improvements

This commit is contained in:
bird_egop
2026-05-17 02:31:11 +03:00
parent 0a8dc6102f
commit a5a14ec4ed
9 changed files with 157 additions and 81 deletions
+16
View File
@@ -0,0 +1,16 @@
namespace Common;
public record Quaternion(float X, float Y, float Z, float W);
public record UShortQuaternion(ushort X, ushort Y, ushort Z, ushort W)
{
public Quaternion ToRegular()
{
return new Quaternion(
X / 32767f,
Y / 32767f,
Z / 32767f,
W / 32767f
);
}
};