mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-24 18:13:15 -05:00
Remove file that shouldn't be there.
This commit is contained in:
parent
c08e98d517
commit
b11a27d14e
1 changed files with 0 additions and 41 deletions
|
@ -1,41 +0,0 @@
|
|||
using System;
|
||||
using OpenTK;
|
||||
|
||||
namespace ClassicalSharp {
|
||||
|
||||
public struct LocationUpdate {
|
||||
|
||||
public Vector3 Pos;
|
||||
public float Yaw, Pitch;
|
||||
|
||||
public bool IncludesPosition;
|
||||
public bool RelativePosition;
|
||||
public bool IncludesOrientation;
|
||||
|
||||
public LocationUpdate( float x, float y, float z, float yaw, float pitch,
|
||||
bool incPos, bool relPos, bool incOri ) {
|
||||
Pos = new Vector3( x, y, z );
|
||||
Yaw = yaw;
|
||||
Pitch = pitch;
|
||||
IncludesPosition = incPos;
|
||||
RelativePosition = relPos;
|
||||
IncludesOrientation = incOri;
|
||||
}
|
||||
|
||||
public static LocationUpdate MakeOri( float yaw, float pitch ) {
|
||||
return new LocationUpdate( 0, 0, 0, yaw, pitch, false, false, true );
|
||||
}
|
||||
|
||||
public static LocationUpdate MakePos( float x, float y, float z, bool rel ) {
|
||||
return new LocationUpdate( x, y, z, 0, 0, true, rel, false );
|
||||
}
|
||||
|
||||
public static LocationUpdate MakePos( Vector3 pos, bool rel ) {
|
||||
return new LocationUpdate( pos.X, pos.Y, pos.Z, 0, 0, true, rel, false );
|
||||
}
|
||||
|
||||
public static LocationUpdate MakePosAndOri( float x, float y, float z, float yaw, float pitch, bool rel ) {
|
||||
return new LocationUpdate( x, y, z, yaw, pitch, true, rel, true );
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue