aswi2021virtual-surreality-gitlab/deltarobot-vr/Assets/DeltaRobotVr/Single3.cs @ bd9a601b
1 | bd9a601b | Oto Šťáva | namespace DeltaRobotVr |
---|---|---|---|
2 | {
|
||
3 | public readonly struct Single3 |
||
4 | {
|
||
5 | public float X { get; } |
||
6 | public float Y { get; } |
||
7 | public float Z { get; } |
||
8 | |||
9 | public Single3(float x, float y, float z) |
||
10 | {
|
||
11 | X = x; |
||
12 | Y = y; |
||
13 | Z = z; |
||
14 | }
|
||
15 | |||
16 | public override string ToString() => "Single3[ " + X + " " + Y + " " + Z + " ]"; |
||
17 | }
|
||
18 | }
|