Examples of IProjector


Examples of calclavia.api.mffs.IProjector

    {
      TileEntity tileEntity = iBlockAccess.getBlockTileEntity(x, y, z);

      if (tileEntity instanceof TileForceField)
      {
        IProjector zhuYao = ((TileForceField) tileEntity).getProjectorSafe();

        if (zhuYao instanceof IProjector)
        {
          return (int) (((float) Math.min(zhuYao.getModuleCount(ModularForceFieldSystem.itemModuleGlow), 64) / 64) * 15f);
        }
      }
    }
    catch (Exception e)
    {
View Full Code Here

Examples of calclavia.api.mffs.IProjector

  }

  @Override
  public void weakenForceField(World world, int x, int y, int z, int joules)
  {
    IProjector projector = this.getProjector(world, x, y, z);

    if (projector != null)
    {
      ((IFortronStorage) projector).provideFortron(joules, true);
    }
View Full Code Here

Examples of org.apache.lucene.spatial.tier.projections.IProjector

      String stringValue = GeoHashUtils.encode(lat, lng);

      addField(doc, key + "`latr", Math.toRadians(lat));
      addField(doc, key + "`lngr", Math.toRadians(lng));

      IProjector projector = new SinusoidalProjector();
      for (int tier = MIN_TIER; tier <= MAX_TIER; tier++) {
        CartesianTierPlotter ctp = new CartesianTierPlotter(tier,
            projector, key + "`tier_");
        addField(doc, key + "`tier_" + tier, ctp.getTierBoxId(lat, lng));
      }
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.