Package Hexel.blocks.BlockTools

Examples of Hexel.blocks.BlockTools.PointFloodSearchMatcher


  public ArrayList<Vector3i> getBlocksIntersectingThing(final Cuboid c, final FixOffsetTmps fixOffsetTmps){
    Vector3i checkBlockPos = new Vector3i();
    Vector2d tmp = new Vector2d();
    HexGeometry.cartesianToBlock(c.getX(), c.getY(), c.getZ(), tmp, checkBlockPos);
    final ArrayList<Vector3i> blocks = new ArrayList<Vector3i>();
    BlockTools.pointFloodSearch(checkBlockPos, new PointFloodSearchMatcher(){
      @Override
      public boolean matches(Vector3i p) {
        Vector3d partialFix = Resources.vector3dResourcePool.aquire();
        partialFix.x = 0;
        partialFix.y = 0;
View Full Code Here


    tmps.toCheck.clear();
    tmps.toFixBlockSet.clear();

    Vector3i checkBlockPos = tmps.tmp3i;
    HexGeometry.cartesianToBlock(c.getX(), c.getY(), c.getZ(), tmps.tmp2d, checkBlockPos);
    BlockTools.pointFloodSearch(checkBlockPos, new PointFloodSearchMatcher(){
      @Override
      public boolean matches(Vector3i p) {
        Vector3d partialFix = Resources.vector3dResourcePool.aquire();
        partialFix.x = 0;
        partialFix.y = 0;
View Full Code Here

TOP

Related Classes of Hexel.blocks.BlockTools.PointFloodSearchMatcher

Copyright © 2018 www.massapicom. 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.