Code cleanup.
This commit is contained in:
@@ -300,7 +300,6 @@ namespace Cryville.Crtr {
|
||||
public abstract void ApplyFrom(Vector parent);
|
||||
public abstract void ReplaceFrom(Vector parent);
|
||||
public abstract void LerpWith(Vector start, float lerpedTime, ref Vector result);
|
||||
public abstract float DelerpWith(Vector start, Vector value);
|
||||
public abstract bool IsZero();
|
||||
public abstract override string ToString();
|
||||
public abstract unsafe void ToArray(float* arr);
|
||||
@@ -365,12 +364,6 @@ namespace Cryville.Crtr {
|
||||
r.Value = s.Value * (1 - lerpedTime) + Value * lerpedTime;
|
||||
}
|
||||
|
||||
public override float DelerpWith(Vector start, Vector value) {
|
||||
var s = (Vec1)start;
|
||||
var v = (Vec1)value;
|
||||
return (v.Value - s.Value) / (this.Value - s.Value);
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -429,10 +422,6 @@ namespace Cryville.Crtr {
|
||||
r.Value = (int)(s.Value * (1 - lerpedTime) + Value * lerpedTime);
|
||||
}
|
||||
|
||||
public override float DelerpWith(Vector start, Vector value) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -491,10 +480,6 @@ namespace Cryville.Crtr {
|
||||
r.Value = s.Value * (1 - lerpedTime) + Value * lerpedTime;
|
||||
}
|
||||
|
||||
public override float DelerpWith(Vector start, Vector value) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -583,10 +568,6 @@ namespace Cryville.Crtr {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override float DelerpWith(Vector start, Vector value) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -682,10 +663,6 @@ namespace Cryville.Crtr {
|
||||
r.z = z.HasValue ? (s.z.Value * (1 - lerpedTime) + z.Value * lerpedTime) : s.z.Value;
|
||||
}
|
||||
|
||||
public override float DelerpWith(Vector start, Vector value) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -766,10 +743,6 @@ namespace Cryville.Crtr {
|
||||
r.yh = yh.HasValue ? (s.yh.Value * (1 - lerpedTime) + yh.Value * lerpedTime) : s.yh.Value;
|
||||
}
|
||||
|
||||
public override float DelerpWith(Vector start, Vector value) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -854,10 +827,6 @@ namespace Cryville.Crtr {
|
||||
r.z = z.HasValue ? (s.z.Value * (1 - lerpedTime) + z.Value * lerpedTime) : s.z.Value;
|
||||
}
|
||||
|
||||
public override float DelerpWith(Vector start, Vector value) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool IsZero() {
|
||||
if (xw == null || xw != 0) return false;
|
||||
if (xh == null || xh != 0) return false;
|
||||
|
Reference in New Issue
Block a user