Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// just a plain old blit
 /// </summary>
 public void Blit(Image src, FxVector3 vec)
 {
     Blit(src, vec.x.toFloat(), vec.y.toFloat());
 }
Exemplo n.º 3
0
		public void Set(FxVector3 other) { x = other.x; y = other.y; z = other.z; }
Exemplo n.º 4
0
 public void TranslateLocal(FxVector3 trans)
 {
     top = Matrix.CreateTranslation(trans.x.toFloat(), trans.y.toFloat(), trans.z.toFloat()) * top; IsDirty = true;
 }
Exemplo n.º 5
0
		public FxVector3 Interpolate(Fx32 param, FxVector3 target)
		{
			FxVector3 diff = target - this;
			return this + diff * param;
		}