Public Member Functions | |
VisFunction (Node node, Vector3f position) | |
Package Functions | |
Override float[][] | heightMap (float t) |
Package Attributes | |
String | f |
Scripter | scripter = new Scripter() |
examples: sin(10*x+t)*sin(10*y-t) ...a nice virtual water
sin(10*x*x+10*y*y-t)
Definition at line 22 of file VisFunction.java.
org.hfbk.vis.visnode.VisFunction.VisFunction | ( | Node | node, | |
Vector3f | position | |||
) |
Definition at line 28 of file VisFunction.java.
References org.hfbk.util.Scripter.evaluate(), org.hfbk.vis.visnode.VisFunction.f, org.hfbk.vis.visnode.VisNode.node, org.hfbk.vis.visnode.VisFunction.scripter, and org.dronus.graph.Node.text.
Here is the call graph for this function:
Override float [][] org.hfbk.vis.visnode.VisFunction.heightMap | ( | float | t | ) | [package, virtual] |
Implements org.hfbk.vis.visnode.VisHeightfield.
Definition at line 36 of file VisFunction.java.
References org.hfbk.vis.visnode.VisFunction.f, org.hfbk.util.Scripter.getFunction(), and org.hfbk.vis.visnode.VisFunction.scripter.
Here is the call graph for this function:
String org.hfbk.vis.visnode.VisFunction.f [package] |
Definition at line 24 of file VisFunction.java.
Referenced by org.hfbk.vis.visnode.VisFunction.heightMap(), and org.hfbk.vis.visnode.VisFunction.VisFunction().
Scripter org.hfbk.vis.visnode.VisFunction.scripter = new Scripter() [package] |
Definition at line 26 of file VisFunction.java.
Referenced by org.hfbk.vis.visnode.VisFunction.heightMap(), and org.hfbk.vis.visnode.VisFunction.VisFunction().