| Modifier and Type | Method and Description |
|---|---|
Vec2 |
PerspectiveProjection.getFarPlaneSize()
Calculate the back frustum face dimension, according to those formulas:
height = 2 * zFar * tan(fovY/2)width = height * aspectRatio |
Vec2 |
PerspectiveProjection.getNearPlaneSize()
Calculate the front frustum face dimension, according to those formulas:
height = 2 * zNear * tan(fovY/2)width = height * aspectRatio |
Vec2 |
PerspectiveProjection.getPlaneSize(float z)
Calculate the face (laying on the xy plane) dimension, according to those formulas:
height = 2 * z * tan(fovY/2)width = height * aspectRatio |
Vec2 |
PerspectiveProjection.projectionPoint(Vec2 dst,
float zFaceDist,
Vec2 point,
float zProjectionFaceDist) |
| Modifier and Type | Method and Description |
|---|---|
Vec2 |
PerspectiveProjection.projectionPoint(Vec2 dst,
float zFaceDist,
Vec2 point,
float zProjectionFaceDist) |
| Modifier and Type | Field and Description |
|---|---|
Vec2 |
FFT.Options.windDirection
Wind direction
|
| Modifier and Type | Method and Description |
|---|---|
Vec2 |
Real.Wave.getDirection(Vec2 dst)
Returns direction of the wave.
|
Vec2 |
Real.PressurePoint.getOrigin(Vec2 dst)
Returns origin of the PressurePoint.
|
Vec2 |
ConfigManager.getVec2Value(java.lang.String name)
Get vector2 value
|
| Modifier and Type | Method and Description |
|---|---|
int |
Real.addPressurePoint(Vec2 origin,
float pressure,
float maxTime,
float waveLength)
Adds a pressure point to the system
|
int |
Real.addWave(Vec2 dir,
float amplitude,
float periode,
float phase)
Adds a wave to the system.
|
static java.lang.String |
ConfigManager.getConfigString(java.lang.String name,
Vec2 value)
|
Vec2 |
Real.Wave.getDirection(Vec2 dst)
Returns direction of the wave.
|
Vec2 |
Real.PressurePoint.getOrigin(Vec2 dst)
Returns origin of the PressurePoint.
|
boolean |
Real.modifyWave(int id,
Vec2 dir,
float A,
float T,
float p)
Modify a wave from the system.
|
| Constructor and Description |
|---|
Options(int _Resolution,
float _PhysicalResolution,
float _Scale,
Vec2 _WindDirection,
float _AnimationSpeed,
float _KwPower,
float _Amplitude)
User constructor
|
PressurePoint(Vec2 orig,
float pressure,
float maxTime,
float waveLength)
Default constructor
|
Wave(Vec2 direction,
float amplitude,
float period,
float phase) |
| Modifier and Type | Field and Description |
|---|---|
Vec2 |
VolClouds.GeometrySettings.height
Height: x = Altitude over the camera, y: Field height (both in world coordinates)
|
Vec2 |
CloudsManager.CloudLayer.Options.windDirection
Wind direction
|
| Modifier and Type | Method and Description |
|---|---|
Vec2 |
VolClouds.getWeather(Vec2 dst)
Get weather
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
VolClouds.create(Vec2 height,
float radius)
Create
|
void |
VolClouds.getDistanceFallingParams(Vec2 dst)
Get distance falling params
|
void |
BasicController.getEastDirection(Vec2 dst)
Get east direction
|
void |
VolCloudsManager.getHeight(Vec2 dst)
Get height parameters
|
Vec2 |
VolClouds.getWeather(Vec2 dst)
Get weather
|
void |
VolClouds.getWindDirectionV2(Vec2 dst)
Get wind direction as a Vector2
|
static void |
Utils.perpendicular(Vec2 vec) |
void |
VolClouds.setDistanceFallingParams(Vec2 distanceFallingParams)
Set distance falling params
|
void |
BasicController.setEastDirection(Vec2 eastDirection)
Set eastn direction
|
void |
VolCloudsManager.setHeight(Vec2 height)
Set height parameters
|
| Constructor and Description |
|---|
Options(float _Height,
float _Scale,
Vec2 _WindDirection,
float _TimeMultiplier)
Constructor
|
| Modifier and Type | Field and Description |
|---|---|
protected Vec2 |
Billboard.size |
| Modifier and Type | Method and Description |
|---|---|
void |
Billboard.getSize(Vec2 dst) |
void |
Billboard.setSize(Vec2 size) |
| Modifier and Type | Method and Description |
|---|---|
void |
Anchor.getCenteringOffset(Vec2 dst,
Size area,
Size contents) |
void |
Anchor.getPositioningOffset(Vec2 dst,
int w,
int h) |
void |
Anchor.getPositioningOffset(Vec2 dst,
Size size) |
| Modifier and Type | Method and Description |
|---|---|
static Vec2 |
TagUtil.parseVec2(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
TagUtil.writeVec2(Vec2 vector) |
| Modifier and Type | Method and Description |
|---|---|
Vec2 |
ConstantVec2.getConstant() |
| Modifier and Type | Method and Description |
|---|---|
void |
Panner.getSpeed(Vec2 dst) |
void |
ConstantVec2.setConstant(Vec2 src) |
void |
Panner.setSpeed(Vec2 src) |
| Constructor and Description |
|---|
ConstantVec2(Vec2 value) |
| Modifier and Type | Field and Description |
|---|---|
static Vec2 |
Vec2.ONE
Don't modify the value of this vector.
|
static Vec2 |
Vec2.ZERO
Don't modify the value of this vector.
|
| Modifier and Type | Method and Description |
|---|---|
Vec2 |
Vec2.add(float x,
float y) |
Vec2 |
Vec2.add(Vec2 vec) |
Vec2 |
Vec2.add(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2.addScale(Vec2 vec1,
Vec2 vec2,
float scale) |
Vec2 |
Vec2.addScale(Vec2 vec1,
Vec2 vec2,
Vec2 scale) |
Vec2 |
Vec2.clone() |
Vec2 |
Vec2.divide(Vec2 vec,
float f) |
Vec2 |
Vec2.divide(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2Array.get(int index,
Vec2 dst) |
Vec2 |
Vec2Array.Builder.get(int index,
Vec2 dst) |
Vec2 |
Vec2.interpolate(Vec2 current,
Vec2 next,
float t) |
Vec2 |
Vec2.interpolateNoCheck(Vec2 current,
Vec2 next,
float t) |
Vec2 |
Vec2.invert(Vec2 vec) |
Vec2 |
Vec2.magnitude(float length) |
Vec2 |
Vec2.max(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2.min(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2.multiply(float f) |
Vec2 |
Vec2.multiply(Vec2 vec) |
Vec2 |
Vec2.multiply(Vec2 vec,
float f) |
Vec2 |
Vec2.multiply(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2.set(float x,
float y) |
Vec2 |
Vec2.set(Vec2 src)
Copy
src in this vector. |
Vec2 |
Vec2.setUnit() |
Vec2 |
Vec2.setX(float x) |
Vec2 |
Vec2.setY(float y) |
Vec2 |
Vec2.setZero() |
Vec2 |
Vec2.subtract(Vec2 vec) |
Vec2 |
Vec2.subtract(Vec2 vec1,
Vec2 vec2) |
| Modifier and Type | Method and Description |
|---|---|
void |
Vec2Array.add(int index,
Vec2 src) |
Vec2 |
Vec2.add(Vec2 vec) |
void |
Vec2Array.Builder.add(Vec2 v) |
Vec2 |
Vec2.add(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2.addScale(Vec2 vec1,
Vec2 vec2,
float scale) |
Vec2 |
Vec2.addScale(Vec2 vec1,
Vec2 vec2,
Vec2 scale) |
float |
Vec2.distance(Vec2 vec) |
float |
Vec2.distanceSqr(Vec2 vec) |
Vec2 |
Vec2.divide(Vec2 vec,
float f) |
Vec2 |
Vec2.divide(Vec2 vec1,
Vec2 vec2) |
float |
Vec2.dot(Vec2 vec) |
Vec2 |
Vec2Array.get(int index,
Vec2 dst) |
Vec2 |
Vec2Array.Builder.get(int index,
Vec2 dst) |
Vec2 |
Vec2.interpolate(Vec2 current,
Vec2 next,
float t) |
void |
Vec2.interpolateNoCheck(Vec2 next,
float t,
float[] dest,
int destIndex) |
Vec2 |
Vec2.interpolateNoCheck(Vec2 current,
Vec2 next,
float t) |
void |
Vec2.interpolateScaleAddNoCheck(Vec2 next,
float t,
float scaleX,
float scaleY,
float addX,
float addY,
float[] dest,
int destIndex) |
Vec2 |
Vec2.invert(Vec2 vec) |
Vec2 |
Vec2.max(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2.min(Vec2 vec1,
Vec2 vec2) |
Vec2 |
Vec2.multiply(Vec2 vec) |
Vec2 |
Vec2.multiply(Vec2 vec,
float f) |
Vec2 |
Vec2.multiply(Vec2 vec1,
Vec2 vec2) |
void |
Vec2Array.set(int index,
Vec2 src) |
Vec2 |
Vec2.set(Vec2 src)
Copy
src in this vector. |
Vec2 |
Vec2.subtract(Vec2 vec) |
Vec2 |
Vec2.subtract(Vec2 vec1,
Vec2 vec2) |
| Modifier and Type | Method and Description |
|---|---|
void |
Vec2Array.setElements(java.lang.Iterable<Vec2> iterable) |
| Modifier and Type | Field and Description |
|---|---|
Vec2 |
LocalMemory.vec2_1 |
Vec2 |
LocalMemory.vec2_2 |
Vec2 |
LocalMemory.vec2_3 |
Vec2 |
LocalMemory.vec2_4 |
Vec2 |
LocalMemory.vec2_5 |
| Modifier and Type | Method and Description |
|---|---|
static Vec2 |
MemoryStack.useVec2() |
| Modifier and Type | Method and Description |
|---|---|
static void |
MemoryStack.freeVec2(Vec2 v) |
| Modifier and Type | Field and Description |
|---|---|
Vec2 |
BatchUtil.uv |
| Modifier and Type | Method and Description |
|---|---|
static Ellipse |
Ellipse.arc(float radius,
Vec2 angleRangeInPercent,
int slices) |
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com