Package com.ardor3d.spline

Examples of com.ardor3d.spline.ArcLengthTable


     *            <code>true</code> to also generate a reverse look up table. This is only required if you plan to use
     *            the {@link ComplexSpatialController.RepeatType#CYCLE} repeat type.
     * @see ArcLengthTable#generate(int, boolean)
     */
    public void generateArcLengths(final int step, final boolean reverse) {
        _arcLengths = new ArcLengthTable(getCurve());
        _arcLengths.generate(step, false);

        if (reverse) {
            _arcLengthsReverse = new ArcLengthTable(getCurve());
            _arcLengthsReverse.generate(step, true);
        }
    }
View Full Code Here

TOP

Related Classes of com.ardor3d.spline.ArcLengthTable

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.