Package com.l2client.navigation.Cell

Examples of com.l2client.navigation.Cell.ClassifyResult


        // down to the XZ plane.
        Line2D MotionPath = new Line2D(new Vector2f(StartPos.x, StartPos.z),
            new Vector2f(EndPos.x, EndPos.z));
 
        // these three will hold the results of our tests against the cell walls
        ClassifyResult Result = null;
 
        // TestCell is the cell we are currently examining.
        Cell TestCell = StartCell;
 
        Result = TestCell.ClassifyPathToCell(MotionPath);
View Full Code Here


        Vector2f Start = new Vector2f(pCell.CenterPoint().x, pCell
            .CenterPoint().z);
        Vector2f End = new Vector2f(Point.x, Point.z);
        Line2D MotionPath = new Line2D(Start, End);

        ClassifyResult Result = pCell.ClassifyPathToCell(MotionPath);

        if (Result.result == Cell.PATH_RESULT.EXITING_CELL) {
          Vector3f ClosestPoint3D = new Vector3f(
              Result.intersection.x, 0.0f, Result.intersection.y);
          pCell.MapVectorHeightToCell(ClosestPoint3D);
View Full Code Here

    // down to the XZ plane.
    Line2D MotionPath = new Line2D(new Vector2f(StartPos.x, StartPos.z),
        new Vector2f(EndPos.x, EndPos.z));

    // these three will hold the results of our tests against the cell walls
    ClassifyResult Result = null;

    // TestCell is the cell we are currently examining.
    Cell TestCell = StartCell;

//    do {
View Full Code Here

TOP

Related Classes of com.l2client.navigation.Cell.ClassifyResult

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.