Examples of idt()


Examples of com.badlogic.gdx.math.Matrix3.idt()

    float scaleY = this.scaleY;

    if (originX != 0 || originY != 0)
      localTransform.setToTranslation(originX, originY);
    else
      localTransform.idt();
    if (rotation != 0) localTransform.rotate(rotation);
    if (scaleX != 1 || scaleY != 1) localTransform.scale(scaleX, scaleY);
    if (originX != 0 || originY != 0) localTransform.translate(-originX, -originY);
    localTransform.trn(x, y);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.