| Modifier and Type | Method and Description |
|---|---|
Vec3 |
PerspectiveProjection.projectionPoint(Vec3 dst,
Vec3 point,
float zProjectionFaceDist) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
View.project(Vec3 obj,
Mat4x4 model,
Mat4x4 proj,
Viewport viewport,
Vec3 win) |
boolean |
View.project(Vec3 object,
Vec3 win) |
Vec3 |
PerspectiveProjection.projectionPoint(Vec3 dst,
Vec3 point,
float zProjectionFaceDist) |
boolean |
PerspectiveProjection.projectSphereInNDC(Rectangle dst,
Vec3 center,
float r)
Project Sphere in Normal Device Coordinates
Reference: http://article.gmane.org/gmane.games.devel.algorithms/21697 |
void |
VolumeManipulator.rotate(Vec3 vector)
Rotate the camera.
|
void |
VolumeManipulator.setViewForward(Vec3 forward,
Vec3 up) |
void |
VolumeManipulator.translate(Vec3 vector)
Translate the camera.
|
static boolean |
View.unProject(Mat4x4 model,
Mat4x4 proj,
Viewport viewport,
Vec3 win,
Vec3 obj) |
boolean |
View.unProject(Vec3 win,
Vec3 obj)
Equivalent to gluUnProject
|
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
HydraX.getGodRaysExposure(Vec3 dst)
Get God rays exposure factors
|
Vec3 |
HydraX.getSunColor(Vec3 dst)
Get sun color
|
Vec3 |
HydraX.getSunPosition(Vec3 dst)
Get sun position
|
Vec3 |
ConfigManager.getVec3Value(java.lang.String name)
Get vector3 value
|
Vec3 |
HydraX.getWaterColor(Vec3 dst)
Get water color
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
ConfigManager.getConfigString(java.lang.String name,
Vec3 value)
|
Vec3 |
HydraX.getGodRaysExposure(Vec3 dst)
Get God rays exposure factors
|
Vec3 |
HydraX.getSunColor(Vec3 dst)
Get sun color
|
Vec3 |
HydraX.getSunPosition(Vec3 dst)
Get sun position
|
Vec3 |
HydraX.getWaterColor(Vec3 dst)
Get water color
|
void |
HydraX.setGodRaysExposure(Vec3 godRaysExposure)
Set god rays exposure
|
void |
HydraX.setSunColor(Vec3 sunColor)
Set sun color
|
void |
HydraX.setSunPosition(Vec3 sunPosition)
Set sun position
|
void |
HydraX.setWaterColor(Vec3 waterColor)
Set water color
|
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
ColorGradient.ColorFrame.color |
Vec3 |
AtmosphereManager.Options.waveLength
WaveLength for RGB channels
|
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
VolClouds.getAmbientColor(Vec3 dst)
Get Ambient color
|
static Vec3 |
Utils.getCameraDirection(Vec3 dir,
View view) |
static Vec3 |
Utils.getCameraPosition(Vec3 pos,
View view) |
Vec3 |
ColorGradient.getColor(Vec3 dst,
float p)
Get color value
|
Vec3 |
LightningManager.getLightningColor(Vec3 dst)
Get lightning color
|
protected static Vec3 |
Utils.getNodePosition(Vec3 pos,
ITransformable node) |
Vec3 |
BasicController.getTime(Vec3 dst)
Get time
|
| Modifier and Type | Method and Description |
|---|---|
protected Lightning |
LightningManager.addLightning(Vec3 p,
Vec3 d,
float l,
int div)
Add lightning
|
Vec3 |
VolClouds.getAmbientColor(Vec3 dst)
Get Ambient color
|
static Vec3 |
Utils.getCameraDirection(Vec3 dir,
View view) |
static Vec3 |
Utils.getCameraPosition(Vec3 pos,
View view) |
Vec3 |
ColorGradient.getColor(Vec3 dst,
float p)
Get color value
|
void |
AtmosphereManager.getColorAt(Vec3 dstColor,
Vec3 direction)
Get current atmosphere color at the given direction
|
void |
Lightning.getDirection(Vec3 dst)
Get ray direction
|
Vec3 |
LightningManager.getLightningColor(Vec3 dst)
Get lightning color
|
void |
BasicController.getMoonDirection(Vec3 dst)
Get moon direction
|
void |
Controller.getMoonDirection(Vec3 dst)
Get moon direction
|
protected static Vec3 |
Utils.getNodePosition(Vec3 pos,
ITransformable node) |
void |
Lightning.getPosition(Vec3 dst)
Get lightning position
|
void |
VolClouds.getSunColor(Vec3 dst)
Get sun color
|
void |
BasicController.getSunDirection(Vec3 dst)
Get sun direction
|
void |
Controller.getSunDirection(Vec3 dst)
Get sun direction
|
void |
VolClouds.getSunDirection(Vec3 dst)
Get sun direction
|
Vec3 |
BasicController.getTime(Vec3 dst)
Get time
|
static void |
Utils.perpendicular(Vec3 vec) |
void |
VolClouds.setAmbientColor(Vec3 ambientColor)
Set ambient color
|
static void |
Utils.setCameraDirection(Vec3 dir,
View view) |
static void |
Utils.setCameraPos(Vec3 pos,
View view) |
void |
LightningManager.setLightningColor(Vec3 c)
Set lightning color
|
void |
VolClouds.setSunColor(Vec3 sunColor)
Set sun color
|
void |
VolClouds.setSunDirection(Vec3 sunDirection)
Set sun direction
|
void |
BasicController.setTime(Vec3 time)
Set time
|
| Constructor and Description |
|---|
ColorFrame(Vec3 color,
float gradient)
Color frame type definition
|
Options(float _InnerRadius,
float _OuterRadius,
float _HeightPosition,
float _RayleighMultiplier,
float _MieMultiplier,
float _SunIntensity,
Vec3 _WaveLength,
float _G,
float _Exposure,
int _NumerOfSamples)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
Billboard.getDirection(Vec3 dst) |
void |
Billboards.getDirection(Vec3 dst) |
void |
Billboard.getNormal(Vec3 dst) |
void |
Billboard.getPosition(Vec3 dst) |
void |
Billboard.setDirection(Vec3 direction) |
void |
Billboards.setDirection(Vec3 direction)
Billboards alignment direction, used with
Billboards.AlignMode.CommonDirection |
void |
Billboard.setNormal(Vec3 normal) |
void |
Billboard.setPosition(Vec3 position) |
| Modifier and Type | Field and Description |
|---|---|
protected Vec3 |
FontPacket.pos |
| Modifier and Type | Method and Description |
|---|---|
void |
FontPacket.set(java.lang.String text,
Anchor anchor,
TextAlign textAlign,
Vec3 pos,
Area clipArea,
int fontSize,
float[] color,
boolean fixedLine) |
| Constructor and Description |
|---|
FontPacket(java.lang.String text,
Anchor anchor,
TextAlign textAlign,
Vec3 pos) |
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
Dof6ConstraintComponent.angularLowerLimit |
Vec3 |
Dof6ConstraintComponent.angularUpperLimit |
Vec3 |
HingeConstraintComponent.axis |
Vec3 |
Dof6ConstraintComponent.linearLowerLimit |
Vec3 |
Dof6ConstraintComponent.linearUpperLimit |
Vec3 |
Dof6ConstraintComponent.pivot |
Vec3 |
HingeConstraintComponent.pivot |
Vec3 |
Dof6ConstraintComponent.pivot2 |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
IMovable.getSpeed(Vec3 dst) |
Vec3 |
Viewer.getSpeed(Vec3 dst) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
IMovable.getSpeed(Vec3 dst) |
Vec3 |
Viewer.getSpeed(Vec3 dst) |
void |
CharacterControllerDynamic.move(Vec3 walkDirection,
float intensity) |
void |
FreeCamera.rotate(Vec3 anglesInRadians)
Rotate this
FreeCamera. |
void |
FreeCamera.setPosition(Vec3 pos) |
void |
FreeCamera.setRotation(Vec3 anglesInRadians) |
void |
IMovable.setSpeed(Vec3 speed)
Set the speed magnitude and direction
|
void |
Viewer.setSpeed(Vec3 speed) |
void |
FreeCamera.translate(Vec3 vector)
Translate the camera.
|
| Modifier and Type | Method and Description |
|---|---|
static Vec3 |
TagUtil.parseVec3(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
TagUtil.writeVec3(Vec3 vector) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
Light.getAttenuation() |
Vec3 |
Light.getSpotDirection() |
| Modifier and Type | Method and Description |
|---|---|
void |
Light.setSpotDirection(Vec3 spotDirection) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
ConstantVec3.getConstant() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConstantVec3.setConstant(Vec3 src) |
| Constructor and Description |
|---|
ConstantVec3(Vec3 value) |
| Modifier and Type | Field and Description |
|---|---|
static Vec3 |
Vec3.AXIS_NEG_X
Don't modify the value.
|
static Vec3 |
Vec3.AXIS_NEG_Y
Don't modify the value.
|
static Vec3 |
Vec3.AXIS_NEG_Z
Don't modify the value.
|
static Vec3 |
Vec3.AXIS_X
Don't modify the value.
|
static Vec3 |
Vec3.AXIS_Y
Don't modify the value.
|
static Vec3 |
Vec3.AXIS_Z
Don't modify the value.
|
static Vec3 |
Vec3.MAX_VALUE
Don't modify the value.
|
static Vec3 |
Vec3.MIN_VALUE
Don't modify the value.
|
static Vec3 |
Vec3.MINUS_ONE
Don't modify the value.
|
static Vec3 |
Vec3.ONE
Don't modify the value.
|
static Vec3 |
Vec3.PLANE_XY
Don't modify the value.
|
static Vec3 |
Vec3.PLANE_XZ
Don't modify the value.
|
static Vec3 |
Vec3.PLANE_YZ
Don't modify the value.
|
static Vec3 |
Vec3.ZERO
Don't modify the value.
|
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
Vec3.add(float x,
float y,
float z) |
Vec3 |
Vec3.add(Vec3 vec) |
Vec3 |
Vec3.add(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Vec3.addScale(Vec3 vec1,
Vec3 vec2,
float scale) |
Vec3 |
Vec3.addScale(Vec3 vec1,
Vec3 vec2,
Vec3 scale) |
Vec3 |
Vec3.clone() |
Vec3 |
Vec3.cross(Vec3 vec1,
Vec3 vec2)
The cross product of two vectors: (y1*z2-z1*y2, z1*x2-x1*z2, x1*y2-y1*x2)
|
Vec3 |
Vec3.divide(Vec3 vec,
float f) |
Vec3 |
Vec3.divide(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Vec3Array.get(int index,
Vec3 dst) |
Vec3 |
Vec3Array.Builder.get(int index,
Vec3 dst) |
Vec3 |
Mat4x4.getAnglesXYZ(Vec3 dst)
Convert this matrix into angles ordered: x, y, z
Reference: http://jeux.developpez.com/faq/matquat/? |
Vec3 |
Quat.getAnglesXYZ(Vec3 dst)
Convert this quaternion into angles ordered: x, y, z
Reference: http://jeux.developpez.com/faq/matquat/? |
Vec3 |
Quat.getAnglesYX(Vec3 dst)
Convert this quaternion into angles ordered: y, x
|
Vec3 |
Mat4x4.getAnglesZYX(Vec3 dst)
Convert this matrix into angles ordered: z, y, x
Reference: http://jeux.developpez.com/faq/matquat/? |
Vec3 |
Quat.getAnglesZYX(Vec3 dst)
Convert this quaternion into angles ordered: z, y, x
Reference: http://jeux.developpez.com/faq/matquat/? |
Vec3 |
Mat4x4.getAxisX(Vec3 dst) |
Vec3 |
Quat.getAxisX(Vec3 dst)
Get the axis x or the left vector defining by this quaternion
|
Vec3 |
Mat4x4.getAxisY(Vec3 dst) |
Vec3 |
Quat.getAxisY(Vec3 dst)
Get the axis y or the up vector defining by this quaternion
|
Vec3 |
Mat4x4.getAxisZ(Vec3 dst) |
Vec3 |
Quat.getAxisZ(Vec3 dst)
Forward vector
|
Vec3 |
Circle.getCenter() |
Vec3 |
Line.getDirection() |
Vec3 |
Plane.getFixedPointOnPlane(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtForward(Vec3 dst) |
protected Vec3 |
Quat.getLookAtForward(Vec3 dst) |
Vec3 |
Transform.getLookAtForward(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtLeft(Vec3 dst) |
protected Vec3 |
Quat.getLookAtLeft(Vec3 dst) |
Vec3 |
Transform.getLookAtLeft(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtPosition(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtUp(Vec3 dst) |
protected Vec3 |
Quat.getLookAtUp(Vec3 dst) |
Vec3 |
Transform.getLookAtUp(Vec3 dst) |
Vec3 |
Circle.getNormal() |
Vec3 |
Plane.getNormal() |
Vec3 |
Line.getOrigin() |
Vec3 |
Transform.getPosition(Vec3 dst)
If modified, call the appropriate setter to synchronize internal data
|
Vec3 |
Plane.getRandomPointOnPlane(Vec3 dst) |
Vec3 |
Plane.getRandomVectorOnPlane(Vec3 dst) |
Vec3 |
Mat4x4.getScale(Vec3 dst) |
Vec3 |
Transform.getScale(Vec3 dst)
If modified, call the appropriate setter to synchronize internal data
|
Vec3 |
Mat4x4.getScale3x3(Vec3 dst) |
Vec3 |
Mat4x4.getTranslationLocal(Vec3 dst) |
Vec3 |
Mat4x4.getTranslationWorld(Vec3 dst) |
Vec3 |
Vec3.interpolate(Vec3 current,
Vec3 next,
float t) |
Vec3 |
Vec3.interpolateNoCheck(Vec3 current,
Vec3 next,
float t) |
Vec3 |
Vec3.invert(Vec3 vec) |
Vec3 |
Vec3.magnitude(float length) |
Vec3 |
Vec3.max(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Vec3.min(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Plane.mirrorPoint(Vec3 dst,
Vec3 point)
point' = point - 2 * distance(point) * n
|
Vec3 |
Plane.mirrorVector(Vec3 dst,
Vec3 vector)
vector' = vector - 2 * dot(n,vector) * n
|
Vec3 |
Vec3.multiply(float f) |
Vec3 |
Vec3.multiply(Vec3 vec) |
Vec3 |
Vec3.multiply(Vec3 vec,
float f) |
Vec3 |
Mat4x4.multiply(Vec3 dst,
Vec3 src)
Multiply (rotate and translate) a vector by this matrix.
|
Vec3 |
Transform.multiply(Vec3 dst,
Vec3 src) |
Vec3 |
Vec3.multiply(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Mat4x4.multiplyDivW(Vec3 dst,
Vec3 src)
Multiply a vector by this matrix, with perspective correction.
|
Vec3 |
Mat4x4.multiplyInverseLookAt(Vec3 dst,
Vec3 src)
Equivalent: new Mat4x4().inverse(this).multiply(dst, src)
Only valid if this is a lookAt matrix |
Vec3 |
Vec3.normal(Vec3 dir1,
Vec3 dir2) |
Vec3 |
Line.project(Vec3 dst,
Vec3 src) |
Vec3 |
Vec3.project(Vec3 axis,
Vec3 vector)
Project the specified vector on the direction and store the result in this
|
Vec3 |
Plane.projectAlongDirection(Vec3 dst,
Vec3 pt,
Vec3 dir) |
Vec3 |
Plane.projectAlongDirection(Vec3 dst,
Vec3 pt,
Vec3 dir,
boolean adjustDir) |
Vec3 |
Circle.projectPoint(Vec3 dst,
Vec3 src) |
Vec3 |
Plane.projectPoint(Vec3 dst,
Vec3 point) |
Vec3 |
Plane.projectVector(Vec3 dst,
Vec3 vec) |
Vec3 |
Quat.rotate(Vec3 dst,
Vec3 src)
This is equivalent to transform a vector by the equivalent matrix.
|
Vec3 |
Transform.rotate(Vec3 dst,
Vec3 src) |
Vec3 |
Quat.rotateTransposed(Vec3 dst,
Vec3 src)
This is equivalent to rotateTransposed a vector by the equivalent matrix.
|
Vec3 |
Vec3.set(float xyz) |
Vec3 |
Vec3.set(float[] src) |
Vec3 |
Vec3.set(float x,
float y,
float z) |
Vec3 |
Vec3.set(Vec3 src)
Copy
src in this vector. |
Vec3 |
Vec3.set(Vec4 src)
Copy
src in this vector. |
Vec3 |
Vec3.setUnit() |
Vec3 |
Vec3.setX(float x) |
Vec3 |
Vec3.setY(float y) |
Vec3 |
Vec3.setZ(float z) |
Vec3 |
Vec3.setZero() |
static Vec3 |
Interpolator.sphericalInterpolation(Vec3 dst,
Vec3 p0,
Vec3 p1,
float t)
Spherical interpolation aka 'SLERP'
|
Vec3 |
Vec3.subtract(Vec3 vec) |
Vec3 |
Vec3.subtract(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Vec3i.toVec3() |
Vec3 |
Mat4x4.transform(Vec3 dst,
Vec3 src)
Transform (rotate) a vector by this matrix.
|
Vec3 |
Mat4x4.transformInverseLookAt(Vec3 dst,
Vec3 src)
Equivalent: new Mat4x4().inverse(this).transform(dst, src)
Only valid if this is a lookAt matrix |
Vec3 |
Mat4x4.transformTransposed(Vec3 dst,
Vec3 src)
Transform (rotate) a vector by this matrix transposed.
|
Vec3 |
Vec3.triangleNormal(Vec3 v0,
Vec3 v1,
Vec3 v2) |
| Modifier and Type | Method and Description |
|---|---|
void |
Vec3Array.add(int index,
Vec3 src) |
Vec3 |
Vec3.add(Vec3 vec) |
void |
Vec3Array.add(Vec3 vec) |
void |
Vec3Array.Builder.add(Vec3 v) |
Vec3 |
Vec3.add(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Vec3.addScale(Vec3 vec1,
Vec3 vec2,
float scale) |
Vec3 |
Vec3.addScale(Vec3 vec1,
Vec3 vec2,
Vec3 scale) |
float |
Vec3.angle(Vec3 vec) |
float |
Vec3.angleOriented(Vec3 vec,
Vec3 referenceAxis) |
boolean |
Line.closestDistance(Line other,
Vec3 dstPointOnThis,
Vec3 dstPointOnOther)
http://softsurfer.com/Archive/algorithm_0106/algorithm_0106.htm
|
Vec3 |
Vec3.cross(Vec3 vec1,
Vec3 vec2)
The cross product of two vectors: (y1*z2-z1*y2, z1*x2-x1*z2, x1*y2-y1*x2)
|
float |
Line.distance(Vec3 pt)
Calculate the distance (oriented) between the point and this
Line. |
float |
Plane.distance(Vec3 pt)
Calculate the distance (oriented) between a point and this plane.
|
float |
Vec3.distance(Vec3 vec) |
float |
Line.distanceAlongLine(Vec3 point) |
float |
Vec3.distanceSqr(Vec3 vec) |
Vec3 |
Vec3.divide(Vec3 vec,
float f) |
Vec3 |
Vec3.divide(Vec3 vec1,
Vec3 vec2) |
float |
Vec3.dot(Vec3 vec) |
Vec3 |
Vec3Array.get(int index,
Vec3 dst) |
Vec3 |
Vec3Array.Builder.get(int index,
Vec3 dst) |
float |
Quat.getAngleProjected(Vec3 refAxis) |
Vec3 |
Mat4x4.getAnglesXYZ(Vec3 dst)
Convert this matrix into angles ordered: x, y, z
Reference: http://jeux.developpez.com/faq/matquat/? |
Vec3 |
Quat.getAnglesXYZ(Vec3 dst)
Convert this quaternion into angles ordered: x, y, z
Reference: http://jeux.developpez.com/faq/matquat/? |
Vec3 |
Quat.getAnglesYX(Vec3 dst)
Convert this quaternion into angles ordered: y, x
|
Vec3 |
Mat4x4.getAnglesZYX(Vec3 dst)
Convert this matrix into angles ordered: z, y, x
Reference: http://jeux.developpez.com/faq/matquat/? |
Vec3 |
Quat.getAnglesZYX(Vec3 dst)
Convert this quaternion into angles ordered: z, y, x
Reference: http://jeux.developpez.com/faq/matquat/? |
float |
Quat.getAxisAngle(Vec3 dstAxis) |
Vec3 |
Mat4x4.getAxisX(Vec3 dst) |
Vec3 |
Quat.getAxisX(Vec3 dst)
Get the axis x or the left vector defining by this quaternion
|
Vec3 |
Mat4x4.getAxisY(Vec3 dst) |
Vec3 |
Quat.getAxisY(Vec3 dst)
Get the axis y or the up vector defining by this quaternion
|
Vec3 |
Mat4x4.getAxisZ(Vec3 dst) |
Vec3 |
Quat.getAxisZ(Vec3 dst)
Forward vector
|
Vec3 |
Plane.getFixedPointOnPlane(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtForward(Vec3 dst) |
protected Vec3 |
Quat.getLookAtForward(Vec3 dst) |
Vec3 |
Transform.getLookAtForward(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtLeft(Vec3 dst) |
protected Vec3 |
Quat.getLookAtLeft(Vec3 dst) |
Vec3 |
Transform.getLookAtLeft(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtPosition(Vec3 dst) |
Vec3 |
Mat4x4.getLookAtUp(Vec3 dst) |
protected Vec3 |
Quat.getLookAtUp(Vec3 dst) |
Vec3 |
Transform.getLookAtUp(Vec3 dst) |
Vec3 |
Transform.getPosition(Vec3 dst)
If modified, call the appropriate setter to synchronize internal data
|
Vec3 |
Plane.getRandomPointOnPlane(Vec3 dst) |
Vec3 |
Plane.getRandomVectorOnPlane(Vec3 dst) |
void |
Mat4x4.getRotationAndScale(Quat q,
Vec3 scale)
WARNING: This is not a general way to convert a matrix into a quaternion !
|
Vec3 |
Mat4x4.getScale(Vec3 dst) |
Vec3 |
Transform.getScale(Vec3 dst)
If modified, call the appropriate setter to synchronize internal data
|
Vec3 |
Mat4x4.getScale3x3(Vec3 dst) |
Vec3 |
Mat4x4.getTranslationLocal(Vec3 dst) |
Vec3 |
Mat4x4.getTranslationWorld(Vec3 dst) |
void |
Quat.getTwistDecomposition(Quat rot,
Quat twist,
Vec3 axis)
Decompose the quaternion in a rotation quaternion
rot (perpendicular to the axis)
and a twist rotation twist (along the axis) such as:this == new Quat().multiply(rot, twist) |
Vec3 |
Vec3.interpolate(Vec3 current,
Vec3 next,
float t) |
void |
Vec3.interpolateNoCheck(Vec3 next,
float t,
float[] dest,
int destIndex) |
Vec3 |
Vec3.interpolateNoCheck(Vec3 current,
Vec3 next,
float t) |
boolean |
Plane.intersect(Vec3 dst,
Line line)
http://local.wasp.uwa.edu.au/~pbourke/geometry/planeline
|
Vec3 |
Vec3.invert(Vec3 vec) |
static boolean |
MathFunc.isVectorValid(Vec3 vector) |
Mat4x4 |
Mat4x4.lookAt(Quat q,
Vec3 position)
Create a look at matrix, and store in this matrix
|
Mat4x4 |
Mat4x4.lookAt(Vec3 eye,
Vec3 ref,
Vec3 up)
Create a look at matrix, and store in this matrix
|
Mat4x4 |
Mat4x4.lookAt(Vec3 left,
Vec3 up,
Vec3 forward,
Vec3 position)
Create a look at matrix, and store in this matrix
|
Vec3 |
Vec3.max(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Vec3.min(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Plane.mirrorPoint(Vec3 dst,
Vec3 point)
point' = point - 2 * distance(point) * n
|
Vec3 |
Plane.mirrorVector(Vec3 dst,
Vec3 vector)
vector' = vector - 2 * dot(n,vector) * n
|
Vec3 |
Vec3.multiply(Vec3 vec) |
void |
Vec3Array.multiply(Vec3 vec) |
Vec3 |
Vec3.multiply(Vec3 vec,
float f) |
Vec3 |
Mat4x4.multiply(Vec3 dst,
Vec3 src)
Multiply (rotate and translate) a vector by this matrix.
|
Vec3 |
Transform.multiply(Vec3 dst,
Vec3 src) |
Vec3 |
Vec3.multiply(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Mat4x4.multiplyDivW(Vec3 dst,
Vec3 src)
Multiply a vector by this matrix, with perspective correction.
|
Vec3 |
Mat4x4.multiplyInverseLookAt(Vec3 dst,
Vec3 src)
Equivalent: new Mat4x4().inverse(this).multiply(dst, src)
Only valid if this is a lookAt matrix |
Vec3 |
Vec3.normal(Vec3 dir1,
Vec3 dir2) |
float |
Vec3.normalize(Vec3 src) |
Vec3 |
Line.project(Vec3 dst,
Vec3 src) |
Vec3 |
Vec3.project(Vec3 axis,
Vec3 vector)
Project the specified vector on the direction and store the result in this
|
Vec3 |
Plane.projectAlongDirection(Vec3 dst,
Vec3 pt,
Vec3 dir) |
Vec3 |
Plane.projectAlongDirection(Vec3 dst,
Vec3 pt,
Vec3 dir,
boolean adjustDir) |
Vec3 |
Circle.projectPoint(Vec3 dst,
Vec3 src) |
Vec3 |
Plane.projectPoint(Vec3 dst,
Vec3 point) |
Vec3 |
Plane.projectVector(Vec3 dst,
Vec3 vec) |
Vec3 |
Quat.rotate(Vec3 dst,
Vec3 src)
This is equivalent to transform a vector by the equivalent matrix.
|
Vec3 |
Transform.rotate(Vec3 dst,
Vec3 src) |
Vec3 |
Quat.rotateTransposed(Vec3 dst,
Vec3 src)
This is equivalent to rotateTransposed a vector by the equivalent matrix.
|
Mat4x4 |
Mat4x4.scale(Vec3 scale)
Scale the 4x3 block of this matrix.
|
Mat4x4 |
Mat4x4.scale3x3(Vec3 scale)
Scale the 3x3 block of this matrix.
|
void |
Vec3Array.set(int index,
Vec3 src) |
Vec3 |
Vec3.set(Vec3 src)
Copy
src in this vector. |
Vec4 |
Vec4.set(Vec3 src,
float srcW)
Copy
src in this vector. |
Quat |
Quat.setAxis(Vec3 axisX,
Vec3 axisY,
Vec3 axisZ)
Deprecated.
|
Mat4x4 |
Mat4x4.setAxisAngle(Vec3 axis,
float angleInRadians)
Set 3x3 matrix block to represent the specified rotation.
|
Quat |
Quat.setAxisAngle(Vec3 axis,
float angleInRadians)
Create a quaternion from an axis angle rotation representation.
|
Line |
Line.setDirection(Vec3 origin,
Vec3 direction) |
Plane |
Plane.setFromDirections(Vec3 dir1OnPlane,
Vec3 dir2OnPlane) |
Plane |
Plane.setFromDirections(Vec3 dir1OnPlane,
Vec3 dir2OnPlane,
Vec3 pointOnPlane) |
Plane |
Plane.setFromNormal(Vec3 normal,
Vec3 point) |
Plane |
Plane.setNormal(Vec3 normal)
Set the plane normal @param normal must be normalized
|
Line |
Line.setPoints(Vec3 point1,
Vec3 point2) |
Transform |
Transform.setPosition(Vec3 position) |
Mat4x4 |
Mat4x4.setRotation(Vec3 axisX,
Vec3 axisY,
Vec3 axisZ)
Set 3x3 matrix block to represent the specified rotation.
|
Transform |
Transform.setRotationAroundPivot(Mat4x4 m,
Vec3 pivot,
Vec3 axis,
float angleInRadians)
Deprecated.
|
Transform |
Transform.setRotationAroundPivot(Quat q,
Vec3 pivot,
Vec3 axis,
float angleInRadians)
Deprecated.
|
Transform |
Transform.setRotationAroundPivot(Vec3 pivot,
Vec3 axis,
float angleInRadians)
Deprecated.
|
Transform |
Transform.setScale(Vec3 scale) |
Mat4x4 |
Mat4x4.setTranslationWorld(Vec3 translate) |
Quat |
Quat.setVectorRotation(Vec3 vec1,
Vec3 vec2)
Shortest arc rotation between the two specified vectors
|
static Vec3 |
Interpolator.sphericalInterpolation(Vec3 dst,
Vec3 p0,
Vec3 p1,
float t)
Spherical interpolation aka 'SLERP'
|
Vec3 |
Vec3.subtract(Vec3 vec) |
Vec3 |
Vec3.subtract(Vec3 vec1,
Vec3 vec2) |
Vec3 |
Mat4x4.transform(Vec3 dst,
Vec3 src)
Transform (rotate) a vector by this matrix.
|
Vec3 |
Mat4x4.transformInverseLookAt(Vec3 dst,
Vec3 src)
Equivalent: new Mat4x4().inverse(this).transform(dst, src)
Only valid if this is a lookAt matrix |
Vec3 |
Mat4x4.transformTransposed(Vec3 dst,
Vec3 src)
Transform (rotate) a vector by this matrix transposed.
|
Mat4x4 |
Mat4x4.translateLocal(Vec3 translate) |
Mat4x4 |
Mat4x4.translateWorld(Vec3 translate) |
Vec3 |
Vec3.triangleNormal(Vec3 v0,
Vec3 v1,
Vec3 v2) |
| Modifier and Type | Method and Description |
|---|---|
void |
Vec3Array.setElements(java.lang.Iterable<Vec3> iterable) |
| Constructor and Description |
|---|
Circle(Vec3 center,
float radius,
Vec3 normal) |
Vec4(Vec3 vector,
float w)
Constructor of the (x, y, z) Point
|
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
LocalMemory.vec_1 |
Vec3 |
MathMemory.vec_1 |
Vec3 |
LocalMemory.vec_2 |
Vec3 |
MathMemory.vec_2 |
Vec3 |
LocalMemory.vec_3 |
Vec3 |
LocalMemory.vec_4 |
Vec3 |
LocalMemory.vec_5 |
| Modifier and Type | Method and Description |
|---|---|
static Vec3 |
MemoryStack.useVec3() |
| Modifier and Type | Method and Description |
|---|---|
static void |
MemoryStack.freeVec3(Vec3 v) |
| Modifier and Type | Field and Description |
|---|---|
java.util.HashMap<java.lang.Float,Vec3> |
KeyFramer.posMap |
java.util.HashMap<java.lang.Float,Vec3> |
KeyFramer.sclMap |
| Modifier and Type | Method and Description |
|---|---|
int |
VertexDataBuilder.addPosition(Vec3 position) |
void |
FacesIndexed.storePolygonWithOrientation(long smoothGroup,
VertexIndexed.Array polygon,
Vec3 polygonOrientation,
IndexedData<Vec3> positions) |
| Modifier and Type | Method and Description |
|---|---|
void |
FacesIndexed.storePolygon(long smoothGroup,
VertexIndexed.Array polygon,
IndexedData<Vec3> positions) |
void |
FacesIndexed.storePolygonWithOrientation(long smoothGroup,
VertexIndexed.Array polygon,
Vec3 polygonOrientation,
IndexedData<Vec3> positions) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ITransformable & IBoundable> |
Utils.moveToOrigin(T object,
Utils.BoxPosition boxPosition,
boolean zUp)
An utility to move the model to the origin, using as reference a bounding box position.
|
| Modifier and Type | Method and Description |
|---|---|
int |
HashVec3.add(Vec3 vec) |
static float |
Utils.getDistanceToViewAlongForwardAxis(IViewable camera,
Vec3 point) |
static float |
Utils.getDistanceToViewAlongForwardAxis(Mat4x4 lookAt,
Vec3 point) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
GLc.getMaterialAmbient(Vec3 dst) |
Vec3 |
GLc.getMaterialDiffuse(Vec3 dst) |
Vec3 |
GLc.getMaterialEmission(Vec3 dst) |
Vec3 |
GLc.getMaterialSpecular(Vec3 dst) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
GLc.getMaterialAmbient(Vec3 dst) |
Vec3 |
GLc.getMaterialDiffuse(Vec3 dst) |
Vec3 |
GLc.getMaterialEmission(Vec3 dst) |
Vec3 |
GLc.getMaterialSpecular(Vec3 dst) |
| Modifier and Type | Method and Description |
|---|---|
void |
Billboard.start(IGL gl,
Vec3 pos) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
RigidBody.getAngularVelocity(Vec3 dst) |
Vec3 |
ContactPoints.getContactImpulse(int index,
Vec3 dst) |
Vec3 |
ContactPoints.getContactPoint(int index,
Vec3 dst) |
Vec3 |
RigidBody.getGravity(Vec3 dst) |
Vec3 |
SoftBodyWorldInfo.getGravity(Vec3 dst) |
Vec3 |
TestResult.getHitNormal() |
Vec3 |
TestResult.getHitPoint() |
Vec3 |
RigidBody.getLinearVelocity(Vec3 dst) |
Vec3 |
ConvexDecomposition.getOffset(int index) |
Vec3 |
SoftBodyWorldInfo.getWaterNormal(Vec3 dst) |
Vec3 |
SoftBody.getWindVelocity(Vec3 dst) |
| Modifier and Type | Method and Description |
|---|---|
void |
SoftBody.addForce(Vec3 force)
Add force (or gravity) to the entire body
|
void |
SoftBody.addVelocity(Vec3 velocity)
Add velocity to the entire body
|
void |
SoftBody.appendAnchor(int node,
RigidBody body,
Vec3 localPivot,
boolean disableCollisionBetweenLinkedBodies,
float influence) |
void |
SoftBody.appendAngularJoint(Vec3 axis,
float erp,
float cfm,
float split,
SoftBody body) |
void |
SoftBody.appendLinearJoint(Vec3 position,
float erp,
float cfm,
float split,
SoftBody body) |
void |
RigidBody.applyCentralForce(Vec3 force) |
void |
RigidBody.applyCentralImpulse(Vec3 impulse) |
void |
RigidBody.applyForce(Vec3 force,
Vec3 relPos) |
void |
RigidBody.applyImpulse(Vec3 impulse,
Vec3 relPos) |
void |
RigidBody.applyTorque(Vec3 torque) |
void |
RigidBody.applyTorqueImpulse(Vec3 torque) |
TestResult |
PhysicWorld.closestRayTest(Vec3 rayFromWorld,
Vec3 rayToWorld) |
CollisionShape |
PhysicWorld.createBoxCollisionShape(Vec3 boxSize) |
void |
RigidBody.getAngularFactor(Vec3 dst) |
Vec3 |
RigidBody.getAngularVelocity(Vec3 dst) |
Vec3 |
ContactPoints.getContactImpulse(int index,
Vec3 dst) |
Vec3 |
ContactPoints.getContactPoint(int index,
Vec3 dst) |
Vec3 |
RigidBody.getGravity(Vec3 dst) |
Vec3 |
SoftBodyWorldInfo.getGravity(Vec3 dst) |
void |
RigidBody.getLinearFactor(Vec3 dst) |
Vec3 |
RigidBody.getLinearVelocity(Vec3 dst) |
void |
RigidBody.getTotalForce(Vec3 dst) |
void |
RigidBody.getTotalTorque(Vec3 dst) |
Vec3 |
SoftBodyWorldInfo.getWaterNormal(Vec3 dst) |
Vec3 |
SoftBody.getWindVelocity(Vec3 dst) |
static void |
Constraint.pivotAxisToTransform(Transform dst,
Vec3 pivot,
Vec3 axis) |
void |
PhysicWorld.rayTest(Vec3 rayFromWorld,
Vec3 rayToWorld,
ITestResultCallback callback)
From Bullet:
rayTest performs a raycast on all objects in the PhysicWorld, and calls the resultCallback
This allows for several queries: first hit, all hits, any hit, dependent on the value returned by the callback. |
void |
RigidBody.setAngularFactor(Vec3 angularFactor)
Angular factor is used to attenuate/reduce body rotation (0 to block rotation).
|
void |
RigidBody.setAngularVelocity(Vec3 angularVelocity) |
protected boolean |
CollisionShape.setBoxShapeHalfExtents(Vec3 halfExtents) |
void |
RigidBody.setGravity(Vec3 gravity)
Override gravity force of
PhysicWorld to this RigidBody. |
void |
SoftBodyWorldInfo.setGravity(Vec3 gravity) |
void |
RigidBody.setLinearFactor(Vec3 linearFactor)
Linear factor is used to attenuate/reduce body translation (0 to block translation).
|
void |
RigidBody.setLinearVelocity(Vec3 linearVelocity) |
void |
SoftBody.setVelocity(Vec3 velocity)
Set velocity for the entire body
|
void |
SoftBodyWorldInfo.setWaterNormal(Vec3 waterNormal) |
void |
SoftBody.setWindVelocity(Vec3 velocity) |
void |
PhysicWorld.updateBoxCollisionShape(CollisionShape boxShape,
Vec3 boxSize) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getAccumulatedImpulse(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getAngularLowerLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getAngularUpperLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getLinearLowerLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getLinearUpperLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getLowerLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getMaxMotorForce(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getNormalCFM(Vec3 dst) |
Vec3 |
Point2PointConstraint.getPivotInA(Vec3 dst) |
Vec3 |
Point2PointConstraint.getPivotInB(Vec3 dst) |
Vec3 |
ConeTwistConstraint.getPointForAngle(Vec3 dst,
float angleInRadians,
float length) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getStopCFM(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getStopERP(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getTargetVelocity(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getUpperLimit(Vec3 dst) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getAccumulatedImpulse(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getAngularLowerLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getAngularUpperLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getLinearLowerLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.getLinearUpperLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getLowerLimit(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getMaxMotorForce(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getNormalCFM(Vec3 dst) |
Vec3 |
Point2PointConstraint.getPivotInA(Vec3 dst) |
Vec3 |
Point2PointConstraint.getPivotInB(Vec3 dst) |
Vec3 |
ConeTwistConstraint.getPointForAngle(Vec3 dst,
float angleInRadians,
float length) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getStopCFM(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getStopERP(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getTargetVelocity(Vec3 dst) |
Vec3 |
Dof6SpringConstraint.TranslationalLimitMotor.getUpperLimit(Vec3 dst) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setAccumulatedImpulse(Vec3 accumulatedImpulse) |
void |
Dof6SpringConstraint.setAngularLowerLimit(Vec3 angularLower) |
void |
Dof6SpringConstraint.setAngularUpperLimit(Vec3 angularUpper) |
void |
Point2PointConstraint.setFrames(Vec3 pivotA,
Vec3 pivotB) |
void |
Dof6SpringConstraint.setLinearLowerLimit(Vec3 linearLower) |
void |
Dof6SpringConstraint.setLinearUpperLimit(Vec3 linearUpper) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setLowerLimit(Vec3 lowerLimit) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setMaxMotorForce(Vec3 maxMotorForce) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setNormalCFM(Vec3 normalCfm) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setStopCFM(Vec3 stopCfm) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setStopERP(Vec3 stopErp) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setTargetVelocity(Vec3 targetVelocity) |
void |
Dof6SpringConstraint.TranslationalLimitMotor.setUpperLimit(Vec3 upperLimit) |
| Constructor and Description |
|---|
GearConstraint(RigidBody rigidBodyA,
RigidBody rigidBodyB,
Vec3 axisInA,
Vec3 axisInB,
float ratio) |
Point2PointConstraint(RigidBody rigidBodyA,
RigidBody rigidBodyB,
Vec3 pivotInA,
Vec3 pivotInB) |
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
Gradient.point1 |
Vec3 |
Gradient.point2 |
| Constructor and Description |
|---|
Gradient(Vec3 point1,
Vec3 point2)
Gradient direction from (x1,y1) to (x2,y2)
|
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
PerturbationFilter.deltaY |
Vec3 |
PerturbationFilter.deltaZ |
Vec3 |
Warp.offsetX |
Vec3 |
Warp.offsetY |
Vec3 |
Warp.offsetZ |
Vec3 |
Warp.scale |
| Constructor and Description |
|---|
PerturbationFilter(IFunction function,
IFunction strength,
IFunction perturbatorX,
IFunction perturbatorY,
IFunction perturbatorZ,
Vec3 deltaY,
Vec3 deltaZ) |
PerturbationFilter(IFunction function,
IFunction strength,
IFunction perturbatorX,
IFunction perturbatorY,
Vec3 deltaY) |
Warp(IFunction function,
Vec3 offsetX,
Vec3 offsetY,
Vec3 offsetZ,
Vec3 scale) |
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
BatchUtil.nrm |
Vec3 |
BatchUtil.pos |
Vec3 |
BatchUtil.pos2 |
| Modifier and Type | Method and Description |
|---|---|
float[] |
BatchUtil.n(Vec3 n) |
float[] |
BatchUtil.pos(Vec3 vec) |
| Modifier and Type | Field and Description |
|---|---|
Vec3 |
DeferredLight.color
Color of the light
|
Vec3 |
DeferredLight.position
Position
|
Vec3 |
DeferredLight.spotDirection
Spot direction
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DeferredLight.projectSphereToScreenSpace(Rectangle dst,
View view,
Vec3 positionMv,
float radius) |
| Modifier and Type | Method and Description |
|---|---|
Octree<T> |
Octree.visit(Vec3 position)
Visit the
Octree englobing the specified position. |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
IBounds.getPointT(Vec3 point) |
Vec3 |
PlanarBounds.getPointT(Vec3 point) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CartesianBounds.containsPoint(Vec3 point) |
boolean |
IBounds.containsPoint(Vec3 point) |
Vec3 |
IBounds.getPointT(Vec3 point) |
Vec3 |
PlanarBounds.getPointT(Vec3 point) |
| Modifier and Type | Method and Description |
|---|---|
default IShapeRepresentation<?> |
IShapeRepresentation.at(Vec3 pos) |
default IShapeRepresentation<?> |
IShapeRepresentation.at(Vec3 position,
Quat orientation) |
void |
IShapeBuilder.vertex(Vec3 position,
float[] textureCoordinates,
Vec3 normal,
Color4b color) |
| Modifier and Type | Method and Description |
|---|---|
void |
BatchShapeBuilder.vertex(Vec3 position,
float[] texCoord,
Vec3 normal,
Color4b color) |
void |
MeshShapeBuilder.vertex(Vec3 position,
float[] textureCoordinates,
Vec3 normal,
Color4b color) |
void |
VolumeShapeBuilder.vertex(Vec3 position,
float[] texCoord,
Vec3 normal,
Color4b color) |
| Modifier and Type | Method and Description |
|---|---|
static Lines |
Lines.line(Vec3 point1,
Vec3 point2) |
static Points |
Points.point(Vec3 point) |
| Constructor and Description |
|---|
Box(Vec3 origin,
Vec3 size,
Vec3 uvArea) |
Cubemap2d(Vec3 origin,
Vec3 size) |
Skybox(Vec3 center,
float size) |
| Modifier and Type | Field and Description |
|---|---|
protected Vec3 |
ControlPoint.tangent |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
ControlPoint.getTangent()
Control point tangent
|
| Modifier and Type | Method and Description |
|---|---|
void |
ControlPoint.setTangent(Vec3 tangent)
Control point tangent
|
| Constructor and Description |
|---|
ControlPoint(Transform transform,
Vec3 tangent) |
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
Capsule.getBottom(Vec3 dst) |
Vec3 |
Cylinder.getBottom(Vec3 dst) |
Vec3 |
Sphere.getCenter() |
Vec3 |
Box.getCenter(Vec3 center) |
Vec3 |
Capsule.getCenter(Vec3 dst) |
Vec3 |
Cylinder.getCenter(Vec3 dst) |
Vec3 |
Sphere.getCenter(Vec3 dst) |
static Vec3 |
Volumes.getCenter(Vec3 dst,
IVolume<?> volume) |
Vec3 |
Box.getMax() |
Vec3 |
Box.getMin() |
Vec3 |
Box.getSize(Vec3 size) |
Vec3 |
Capsule.getTop(Vec3 dst) |
Vec3 |
Cylinder.getTop(Vec3 dst) |
Vec3[] |
Sphere.intersection(Line line)
Line-Sphere Intersection
|
Vec3 |
Box.limitInVolume(Vec3 dst,
Vec3 src) |
Vec3 |
Capsule.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point location in this volume.
|
Vec3 |
Cylinder.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point location in this volume.
|
Vec3 |
IVolume.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point in this volume.
|
Vec3 |
OrientedVolume.limitInVolume(Vec3 dst,
Vec3 src) |
Vec3 |
Sphere.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point location in this volume.
|
| Modifier and Type | Method and Description |
|---|---|
Vec3 |
Capsule.getBottom(Vec3 dst) |
Vec3 |
Cylinder.getBottom(Vec3 dst) |
Vec3 |
Box.getCenter(Vec3 center) |
Vec3 |
Capsule.getCenter(Vec3 dst) |
Vec3 |
Cylinder.getCenter(Vec3 dst) |
Vec3 |
Sphere.getCenter(Vec3 dst) |
static Vec3 |
Volumes.getCenter(Vec3 dst,
IVolume<?> volume) |
Vec3 |
Box.getSize(Vec3 size) |
Vec3 |
Capsule.getTop(Vec3 dst) |
Vec3 |
Cylinder.getTop(Vec3 dst) |
Vec3 |
Box.limitInVolume(Vec3 dst,
Vec3 src) |
Vec3 |
Capsule.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point location in this volume.
|
Vec3 |
Cylinder.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point location in this volume.
|
Vec3 |
IVolume.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point in this volume.
|
Vec3 |
OrientedVolume.limitInVolume(Vec3 dst,
Vec3 src) |
Vec3 |
Sphere.limitInVolume(Vec3 dst,
Vec3 src)
Limit a point location in this volume.
|
Sphere |
Sphere.set(Vec3 center,
float radius) |
void |
Capsule.set(Vec3 center,
float radius,
float height) |
void |
Cylinder.set(Vec3 center,
float radius,
float height) |
void |
Capsule.setBottom(Vec3 src) |
void |
Cylinder.setBottom(Vec3 src) |
void |
Sphere.setCenter(Vec3 src) |
Box |
Box.setCenterAndSize(Vec3 center,
Vec3 size) |
void |
Box.setMax(Vec3 max) |
void |
Box.setMin(Vec3 min) |
| Constructor and Description |
|---|
Box(Vec3 min,
Vec3 max) |
Capsule(Vec3 bottom,
float radius,
float height) |
Cylinder(Vec3 bottom,
float radius,
float height) |
Sphere(Vec3 center,
float radius) |
| Modifier and Type | Method and Description |
|---|---|
protected static Quat |
PolarDecomposition.snuggle(Quat q_,
Vec3 k,
Quat dst)
Given a unit quaternion, q, and a scale vector, k, find a unit quaternion, p,
which permutes the axes and turns freely in the plane of duplicate scale
factors, such that q p has the largest possible w component, i.e. the
smallest possible angle.
|
protected static void |
PolarDecomposition.spect_decomp(Vec3 dst,
Mat4x4 S,
Mat4x4 U)
Compute the spectral decomposition of symmetric positive semi-definite S.
|
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