示例#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);
 }
示例#2
0
 /// <summary>
 /// just a plain old blit
 /// </summary>
 public void Blit(Image src, FxVector3 vec)
 {
     Blit(src, vec.x.toFloat(), vec.y.toFloat());
 }
示例#3
0
文件: Fx32.cs 项目: Gayo/Gayo-CAROT
		public void Set(FxVector3 other) { x = other.x; y = other.y; z = other.z; }
示例#4
0
 public void TranslateLocal(FxVector3 trans)
 {
     top = Matrix.CreateTranslation(trans.x.toFloat(), trans.y.toFloat(), trans.z.toFloat()) * top; IsDirty = true;
 }
示例#5
0
文件: Fx32.cs 项目: Gayo/Gayo-CAROT
		public FxVector3 Interpolate(Fx32 param, FxVector3 target)
		{
			FxVector3 diff = target - this;
			return this + diff * param;
		}