Package com.ardor3d.scenegraph

Examples of com.ardor3d.scenegraph.Line.updateModelBound()


            GeometryTool.minimizeVerts(line, EnumSet.of(MatchCondition.UVs));

            applyCurrentMaterial(line);
            mapToGroups(line);

            line.updateModelBound();

            _root.attachChild(line);
            _lineManager = null;
            _totalLines++;
        }
View Full Code Here


        final Line line = new Line("graphed line: " + grapher, vertexList.toArray(new Vector3[vertexList.size()]),
                null, null, null);
        // The type of line we are making is a LineStrip. You can experiment and try making this Lines, or a Line Loop.
        line.getMeshData().setIndexMode(IndexMode.LineStrip);
        // Update the model bound of our line to fit the data we've provided.
        line.updateModelBound();
        // Send back our Line.
        return line;
    }

    /**
 
View Full Code Here

        if (_optimizeMeshes) {
            final VertMap map = GeometryTool.minimizeVerts(lineMesh, _optimizeSettings);
            _dataCache.setMeshVertMap(lineMesh, map);
        }

        lineMesh.updateModelBound();

        return lineMesh;
    }

    /**
 
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.