Examples of scale()


Examples of toxi.geom.mesh.TriangleMesh.scale()

    }

    public void draw(PGraphics g, GmlStroke stroke, float scale, float minTime, float maxTime) {

      TriangleMesh mesh = buildMesh(stroke, minTime, maxTime);
      mesh.scale(scale);

      g.pushMatrix();
      g.pushStyle();

      // Style
View Full Code Here

Examples of universalelectricity.api.vector.Vector3.scale()

          NBTTagCompound vectorTag = (NBTTagCompound) nbtTagList.tagAt(i);
          Vector3 position = new Vector3(vectorTag);

          if (scale > 0)
          {
            position.scale(scale);
          }

          int[] blockInfo = new int[] { vectorTag.getInteger(NBT_FIELD_BLOCK_ID), vectorTag.getInteger(NBT_FIELD_BLOCK_METADATA) };

          if (position != null)
View Full Code Here

Examples of whitening.opengl.s.nehe.commons.Tuple3f.scale()

        gl.glLoadIdentity();

        gl.glRotatef(anguloVertical, 1.0f, 0.0f, 0.0f);
        gl.glRotatef(anguloHorizontal, 0.0f, 1.0f, 0.0f);

        v.scale(velocidade, direcaoCamera);

        posicaoCamera.add(v);

        gl.glTranslatef(-posicaoCamera.getX(), -posicaoCamera.getY(), -posicaoCamera.getZ());
  }
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.