mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
25 lines
467 B
C#
25 lines
467 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using UnityEngine;
|
|
|
|
namespace Marshmallow.Utility
|
|
{
|
|
public class MVector3
|
|
{
|
|
public MVector3(float x, float y, float z)
|
|
{
|
|
X = x;
|
|
Y = y;
|
|
Z = z;
|
|
}
|
|
|
|
public float X { get; }
|
|
public float Y { get; }
|
|
public float Z { get; }
|
|
|
|
public Vector3 ToVector3() => new Vector3(X, Y, Z);
|
|
}
|
|
}
|