rename ungenericed graphic vec usage to genericed
This commit is contained in:
@@ -29,8 +29,8 @@ namespace Nitload.Geometries
|
||||
: base(v0x, v0y, v1x, v1y, v2x, v2y, v3x, v3y)
|
||||
{
|
||||
#if DEBUG
|
||||
Vec2 side0 = (this[0].Coord - this[1].Coord).XY;
|
||||
Vec2 side1 = (this[2].Coord - this[1].Coord).XY;
|
||||
Vec2<float> side0 = (this[0].Coord - this[1].Coord).XY;
|
||||
Vec2<float> side1 = (this[2].Coord - this[1].Coord).XY;
|
||||
if (side0.Cross(side1) == 0) {
|
||||
throw new ArgumentException();
|
||||
}
|
||||
@@ -51,8 +51,8 @@ namespace Nitload.Geometries
|
||||
: base(coordination, v0x, v0y, v1x, v1y, v2x, v2y, v3x, v3y)
|
||||
{
|
||||
#if DEBUG
|
||||
Vec2 side0 = (this[0].Coord - this[1].Coord).XY;
|
||||
Vec2 side1 = (this[2].Coord - this[1].Coord).XY;
|
||||
Vec2<float> side0 = (this[0].Coord - this[1].Coord).XY;
|
||||
Vec2<float> side1 = (this[2].Coord - this[1].Coord).XY;
|
||||
if (side0.Cross(side1) == 0) {
|
||||
throw new ArgumentException();
|
||||
}
|
||||
@@ -68,11 +68,11 @@ namespace Nitload.Geometries
|
||||
/// <returns>
|
||||
///
|
||||
/// </returns>
|
||||
public virtual Vec3 MovCenter(
|
||||
uint tick
|
||||
public virtual Vec3<float> MovCenter(
|
||||
uint tick
|
||||
)
|
||||
{
|
||||
return default(Vec3);
|
||||
return Vec3<float>.Zero;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user