Package ca.grimoire.jnoise.modules

Examples of ca.grimoire.jnoise.modules.Module


   *           source builder fails to build a module.
   */
  public Displace createModule () throws BuilderException {
    List<ModuleBuilder> builders = checkSources ();

    Module source = builders.get (SOURCE_CHILD).createModule ();
    Module x = builders.get (X_CHILD).createModule ();
    Module y = builders.get (Y_CHILD).createModule ();
    Module z = builders.get (Z_CHILD).createModule ();

    return new Displace (source, x, y, z);
  }
View Full Code Here


    checkFalloff ();
    checkThreshold ();

    List<ModuleBuilder> builders = checkSources ();

    Module lower = builders.get (LEFT_CHILD).createModule ();
    Module upper = builders.get (RIGHT_CHILD).createModule ();
    Module selector = builders.get (SELECTOR_CHILD).createModule ();

    return new Select (lower, upper, selector, threshold, falloff);
  }
View Full Code Here

TOP

Related Classes of ca.grimoire.jnoise.modules.Module

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.