Examples of intY()


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

    for (float x = -negScale.intX(); x <= posScale.intX(); x += 0.5f)
    {
      for (float z = -negScale.intZ(); z <= posScale.intZ(); z += 0.5f)
      {
        for (float y = -negScale.intY(); y <= posScale.intY(); y += 0.5f)
        {
          fieldBlocks.add(new Vector3(x, y, z));
        }
      }
    }
View Full Code Here

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

    final Vector3 posScale = projector.getPositiveScale();
    final Vector3 negScale = projector.getNegativeScale();

    final int xStretch = posScale.intX() + negScale.intX();
    final int yStretch = posScale.intY() + negScale.intY();
    final int zStretch = posScale.intZ() + negScale.intZ();
    final Vector3 translation = new Vector3(0, -negScale.intY(), 0);

    final int inverseThickness = (int) Math.max((yStretch + zStretch) / 4f, 1);
    System.out.println(inverseThickness);
View Full Code Here

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

    Vector3 posScale = projector.getPositiveScale();
    Vector3 negScale = projector.getNegativeScale();

    int xStretch = posScale.intX() + negScale.intX();
    int yStretch = posScale.intY() + negScale.intY();
    int zStretch = posScale.intZ() + negScale.intZ();
    Vector3 translation = new Vector3(0, -0.4, 0);

    for (float x = -xStretch; x <= xStretch; x++)
    {
View Full Code Here

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

  {
    Vector3 posScale = projector.getPositiveScale().clone();
    Vector3 negScale = projector.getNegativeScale().clone();

    int xStretch = posScale.intX() + negScale.intX();
    int yStretch = posScale.intY() + negScale.intY();
    int zStretch = posScale.intZ() + negScale.intZ();

    Vector3 projectorPos = new Vector3((TileEntity) projector);
    projectorPos.add(projector.getTranslation());
    projectorPos.add(new Vector3(0, -negScale.intY() + 1, 0));
View Full Code Here

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

    for (float x = -negScale.intX(); x <= posScale.intX(); x += 0.5f)
    {
      for (float z = -negScale.intZ(); z <= posScale.intZ(); z += 0.5f)
      {
        for (float y = -negScale.intY(); y <= posScale.intY(); y += 0.5f)
        {
          if (!(direction == ForgeDirection.UP || direction == ForgeDirection.DOWN) && (y == -negScale.intY() || y == posScale.intY()))
          {
            fieldBlocks.add(new Vector3(x, y, z));
            continue;
View Full Code Here

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

    {
      for (float z = -negScale.intZ(); z <= posScale.intZ(); z += 0.5f)
      {
        for (float y = -negScale.intY(); y <= posScale.intY(); y += 0.5f)
        {
          if (!(direction == ForgeDirection.UP || direction == ForgeDirection.DOWN) && (y == -negScale.intY() || y == posScale.intY()))
          {
            fieldBlocks.add(new Vector3(x, y, z));
            continue;
          }
View Full Code Here

Examples of universalelectricity.api.vector.VectorWorld.intY()

      if (Block.blocksList[blockId] != null)
      {
        list.add(LanguageUtility.getLocal("info.item.linkedWith") + " " + Block.blocksList[blockId].getLocalizedName());
      }

      list.add(vec.intX() + ", " + vec.intY() + ", " + vec.intZ());
      list.add(LanguageUtility.getLocal("info.item.dimension") + " '" + vec.world.provider.getDimensionName() + "'");
    }
    else
    {
      list.add(LanguageUtility.getLocal("info.item.notLinked"));
View Full Code Here

Examples of universalelectricity.api.vector.VectorWorld.intY()

      if (Block.blocksList[blockId] != null)
      {
        list.add(LanguageUtility.getLocal("info.item.linkedWith") + " " + Block.blocksList[blockId].getLocalizedName());
      }

      list.add(vec.intX() + ", " + vec.intY() + ", " + vec.intZ());
      list.add(LanguageUtility.getLocal("info.item.dimension") + " " + vec.world.provider.getDimensionName());
    }
    else
    {
      list.add(LanguageUtility.getLocal("info.item.notLinked"));
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.