2019-11-01 02:40:31 +00:00
|
|
|
|
namespace RobloxFiles.DataTypes
|
2019-01-26 00:39:37 +00:00
|
|
|
|
{
|
2019-11-01 02:40:31 +00:00
|
|
|
|
public class Region3int16
|
2019-01-26 00:39:37 +00:00
|
|
|
|
{
|
|
|
|
|
public readonly Vector3int16 Min, Max;
|
2019-11-01 02:40:31 +00:00
|
|
|
|
public override string ToString() => $"{Min}; {Max}";
|
2019-01-26 00:39:37 +00:00
|
|
|
|
|
2019-02-01 18:40:39 +00:00
|
|
|
|
public Region3int16(Vector3int16 min = null, Vector3int16 max = null)
|
2019-01-26 00:39:37 +00:00
|
|
|
|
{
|
|
|
|
|
Min = min ?? new Vector3int16();
|
|
|
|
|
Max = max ?? new Vector3int16();
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-01 02:40:31 +00:00
|
|
|
|
internal Region3int16(Attribute attr)
|
2019-01-26 00:39:37 +00:00
|
|
|
|
{
|
2019-11-01 02:40:31 +00:00
|
|
|
|
Min = new Vector3int16(attr);
|
|
|
|
|
Max = new Vector3int16(attr);
|
2019-01-26 00:39:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|