/// <summary> /// just a plain old blit that knows how to flip and mirror itself /// </summary> public void FlipBlit(Image src, FxVector3 vec, bool fx, bool fy) { FlipBlit(src, vec.x.toFloat(), vec.y.toFloat(), fx, fy); }
/// <summary> /// just a plain old blit /// </summary> public void Blit(Image src, FxVector3 vec) { Blit(src, vec.x.toFloat(), vec.y.toFloat()); }
public void Set(FxVector3 other) { x = other.x; y = other.y; z = other.z; }
public void TranslateLocal(FxVector3 trans) { top = Matrix.CreateTranslation(trans.x.toFloat(), trans.y.toFloat(), trans.z.toFloat()) * top; IsDirty = true; }
public FxVector3 Interpolate(Fx32 param, FxVector3 target) { FxVector3 diff = target - this; return this + diff * param; }