public class TurbulenceCalc
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Vector2f[] |
DIRECTIONS |
Constructor and Description |
---|
TurbulenceCalc() |
Modifier and Type | Method and Description |
---|---|
static void |
addCell(Vector2f[][] field,
Vector2f[][] delta,
int fromX,
int fromY,
int x,
int y,
Vector2f dir,
float propagationMult) |
static void |
addCell(Vector2f cell,
Vector2f dir,
Vector2f delta) |
static void |
advance(VelocityField field,
float propagationSpeed,
float amount) |
static Vector2f |
getCell(Vector2f[][] data,
int i,
int j) |
public static void advance(VelocityField field, float propagationSpeed, float amount)
public static Vector2f getCell(Vector2f[][] data, int i, int j)
public static void addCell(Vector2f[][] field, Vector2f[][] delta, int fromX, int fromY, int x, int y, Vector2f dir, float propagationMult)
public static void addCell(Vector2f cell, Vector2f dir, Vector2f delta)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.