Package | Description |
---|---|
org.osm2world.core.math |
classes for geometric objects that are used throughout OSM2World
|
org.osm2world.core.target.jogl |
Modifier and Type | Field and Description |
---|---|
static VectorXYZW |
VectorXYZW.NULL_VECTOR |
static VectorXYZW |
VectorXYZW.W_UNIT |
static VectorXYZW |
VectorXYZW.X_UNIT |
static VectorXYZW |
VectorXYZW.Y_UNIT |
static VectorXYZW |
VectorXYZW.Z_UNIT |
Modifier and Type | Method and Description |
---|---|
VectorXYZW |
VectorXYZW.add(double x,
double y,
double z,
double w) |
VectorXYZW |
VectorXYZW.add(VectorXYZW other) |
VectorXYZW |
VectorXYZW.invert() |
VectorXYZW |
VectorXYZW.mult(double scalar) |
VectorXYZW |
VectorXYZW.normalize() |
VectorXYZW |
VectorXYZW.subtract(VectorXYZW other) |
VectorXYZW |
VectorXYZW.x(double x) |
static VectorXYZW |
VectorXYZW.xyz(Vector4D vector4D)
creates a VectorXYZ for any Vector4D object.
|
VectorXYZW |
VectorXYZW.y(double y) |
VectorXYZW |
VectorXYZW.z(double z) |
Modifier and Type | Method and Description |
---|---|
static List<VectorXYZW> |
GeometryUtil.calculateShadowVolumesPerTriangle(List<VectorXYZ> vertices,
VectorXYZW lightPos)
Calculate per triangle shadow volumes.
|
static List<VectorXYZW> |
GeometryUtil.calculateTangentVectorsForTexLayer(List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<VectorXZ> texCoords)
Calculate consistent tangent vectors for given vertices and vertex normals and texture coordinates.
|
Modifier and Type | Method and Description |
---|---|
VectorXYZW |
VectorXYZW.add(VectorXYZW other) |
static List<VectorXYZW> |
GeometryUtil.calculateShadowVolumesPerTriangle(List<VectorXYZ> vertices,
VectorXYZW lightPos)
Calculate per triangle shadow volumes.
|
double |
VectorXYZW.distanceTo(VectorXYZW other) |
double |
VectorXYZW.distanceToSquared(VectorXYZW other) |
VectorXYZW |
VectorXYZW.subtract(VectorXYZW other) |
Modifier and Type | Field and Description |
---|---|
protected VectorXYZW |
JOGLRendererVBOShadowVolume.lightPos |