Code cleanup.
This commit is contained in:
@@ -360,7 +360,7 @@ namespace Cryville.Crtr {
|
||||
public abstract void LerpWith(Vector start, float lerpedTime, ref Vector result);
|
||||
public abstract float DelerpWith(Vector start, Vector value);
|
||||
public abstract bool IsZero();
|
||||
public override abstract string ToString();
|
||||
public abstract override string ToString();
|
||||
public abstract unsafe void ToArray(float* arr);
|
||||
|
||||
public Vector Clone() {
|
||||
@@ -610,8 +610,8 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
}
|
||||
}
|
||||
w = aw ? rw : (float?)null;
|
||||
h = ah ? rh : (float?)null;
|
||||
w = aw ? rw : null;
|
||||
h = ah ? rh : null;
|
||||
}
|
||||
|
||||
public static VecPtComp Parse(string s) {
|
||||
@@ -968,7 +968,7 @@ namespace Cryville.Crtr {
|
||||
public class VectorOp : PropOp {
|
||||
readonly Action<float[]> _cb;
|
||||
public VectorOp(Action<float[]> cb) { _cb = cb; }
|
||||
protected unsafe override void Execute() {
|
||||
protected override unsafe void Execute() {
|
||||
var op = GetOperand(0);
|
||||
float[] values;
|
||||
if (op.Type == PdtInternalType.Number) {
|
||||
|
Reference in New Issue
Block a user