|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vec2 | |
---|---|
org.jbox2d.collision | This package contains the broad and narrow phase collision algorithms. |
org.jbox2d.common | This package contains various math and utility functions used by all of JBox2d, including vectors (Vec2), matrices (Mat22), transforms (XForm), colors (Color3f), and CCD sweeps (Sweep), as well as the global settings for the simulation (Settings). |
org.jbox2d.dynamics | This package handles non-collision aspects of simulation. |
org.jbox2d.dynamics.contacts | This package performs contact handling, and is essentially internal to JBox2d. |
org.jbox2d.dynamics.joints | This package deals with all things joint-related. |
org.jbox2d.testbed | The JBox2d 2.0 testbed, implemented using Processing. |
org.jbox2d.testbed.tests | This package containst all the testbed examples, which extend org.jbox2d.testbed.AbstractExample. |
org.jbox2d.util.blob |
Uses of Vec2 in org.jbox2d.collision |
---|
Fields in org.jbox2d.collision declared as Vec2 | |
---|---|
Vec2 |
OBB.center
The local centroid. |
Vec2 |
MassData.center
The position of the shape's centroid relative to the shape's origin. |
Vec2 |
OBB.extents
The half-widths. |
Vec2 |
ManifoldPoint.localPoint1
Local position of the contact point in body1 |
Vec2 |
ManifoldPoint.localPoint2
Local position of the contact point in body2 |
Vec2 |
CircleDef.localPosition
|
Vec2 |
AABB.lowerBound
Vertex of bounding box. |
Vec2 |
PolygonShape.m_centroid
Local position of the shape centroid in parent body frame. |
Vec2[] |
PolygonShape.m_coreVertices
The normals of the shape. |
Vec2 |
CircleShape.m_localPosition
|
Vec2[] |
PolygonShape.m_normals
The normals of the shape. |
Vec2 |
BroadPhase.m_quantizationFactor
|
Vec2[] |
PolygonShape.m_vertices
The vertices of the shape. |
Vec2 |
Manifold.normal
The shared unit normal vector. |
Vec2 |
Segment.p1
|
Vec2 |
Segment.p2
|
Vec2 |
AABB.upperBound
Vertex of bounding box. |
Fields in org.jbox2d.collision with type parameters of type Vec2 | |
---|---|
java.util.List<Vec2> |
PolygonDef.vertices
The polygon vertices in local coordinates. |
Methods in org.jbox2d.collision that return Vec2 | |
---|---|
Vec2 |
PolygonShape.centroid(XForm xf)
Get the centroid and apply the supplied transform. |
static Vec2 |
PolygonShape.computeCentroid(java.util.List<Vec2> vs)
|
Vec2 |
PolygonShape.getCentroid()
Get the local centroid relative to the parent body. |
Vec2[] |
PolygonShape.getCoreVertices()
Get the core vertices in local coordinates. |
Vec2 |
SupportsGenericDistance.getFirstVertex(XForm xf)
|
Vec2 |
PolygonShape.getFirstVertex(XForm xf)
Get the first vertex and apply the supplied transform. |
Vec2 |
CircleShape.getLocalPosition()
|
Vec2[] |
PolygonShape.getNormals()
Get the edge normal vectors. |
Vec2[] |
PolygonDef.getVertexArray()
Return the vertex list as an array. |
Vec2[] |
PolygonShape.getVertices()
Get the vertices in local coordinates. |
Vec2 |
SupportsGenericDistance.support(XForm xf,
Vec2 v)
|
Vec2 |
PolygonShape.support(XForm xf,
Vec2 d)
Get the support point in the given world direction. |
Methods in org.jbox2d.collision that return types with arguments of type Vec2 | |
---|---|
java.util.List<Vec2> |
PolygonDef.getVertexList()
Return the vertex list as a List |
Methods in org.jbox2d.collision with parameters of type Vec2 | |
---|---|
void |
PolygonDef.addVertex(Vec2 v)
Add a vertex to the polygon. |
static void |
PolygonShape.computeOBB(OBB obb,
Vec2[] vs)
|
static float |
Distance.distance(Vec2 x1,
Vec2 x2,
Shape shape1,
XForm xf1,
Shape shape2,
XForm xf2)
Find the closest distance between shapes shape1 and shape2, and load the closest points into x1 and x2. |
protected static float |
Distance.DistanceCC(Vec2 x1,
Vec2 x2,
CircleShape circle1,
XForm xf1,
CircleShape circle2,
XForm xf2)
|
static float |
Distance.DistanceGeneric(Vec2 x1,
Vec2 x2,
SupportsGenericDistance shape1,
XForm xf1,
SupportsGenericDistance shape2,
XForm xf2)
Distance between any two objects that implement SupportsGenericDistance. |
protected static float |
Distance.DistancePC(Vec2 x1,
Vec2 x2,
PolygonShape polygon,
XForm xf1,
CircleShape circle,
XForm xf2)
|
protected static boolean |
Distance.InPoints(Vec2 w,
Vec2[] points,
int pointCount)
|
protected static boolean |
Distance.InPoints(Vec2 w,
Vec2[] points,
int pointCount)
|
protected static int |
Distance.ProcessThree(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
protected static int |
Distance.ProcessThree(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
protected static int |
Distance.ProcessThree(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
protected static int |
Distance.ProcessThree(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
protected static int |
Distance.ProcessTwo(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
protected static int |
Distance.ProcessTwo(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
protected static int |
Distance.ProcessTwo(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
protected static int |
Distance.ProcessTwo(Vec2 x1,
Vec2 x2,
Vec2[] p1s,
Vec2[] p2s,
Vec2[] points)
|
void |
PolygonDef.setAsBox(float hx,
float hy,
Vec2 center,
float angle)
Build vertices to represent an oriented box. |
Vec2 |
SupportsGenericDistance.support(XForm xf,
Vec2 v)
|
Vec2 |
PolygonShape.support(XForm xf,
Vec2 d)
Get the support point in the given world direction. |
abstract boolean |
Shape.testPoint(XForm xf,
Vec2 p)
Test a point for containment in this shape. |
boolean |
PolygonShape.testPoint(XForm xf,
Vec2 p)
|
boolean |
CircleShape.testPoint(XForm transform,
Vec2 p)
|
abstract void |
Shape.updateSweepRadius(Vec2 center)
Internal |
void |
PolygonShape.updateSweepRadius(Vec2 center)
|
void |
CircleShape.updateSweepRadius(Vec2 center)
|
Method parameters in org.jbox2d.collision with type arguments of type Vec2 | |
---|---|
static Vec2 |
PolygonShape.computeCentroid(java.util.List<Vec2> vs)
|
Constructors in org.jbox2d.collision with parameters of type Vec2 | |
---|---|
AABB(Vec2 minVertex,
Vec2 maxVertex)
|
|
OBB(Mat22 _R,
Vec2 _center,
Vec2 _extents)
|
Uses of Vec2 in org.jbox2d.common |
---|
Fields in org.jbox2d.common declared as Vec2 | |
---|---|
Vec2 |
Sweep.c
Center world positions |
Vec2 |
Sweep.c0
Center world positions |
Vec2 |
Mat22.col1
|
Vec2 |
Mat22.col2
|
Vec2 |
Sweep.localCenter
Local center of mass position |
Vec2 |
XForm.position
The translation caused by the transform |
Methods in org.jbox2d.common that return Vec2 | |
---|---|
Vec2 |
Vec2.abs()
Return a new vector that has positive components. |
static Vec2 |
Vec2.abs(Vec2 a)
|
Vec2 |
Vec2.add(Vec2 v)
Return the sum of this vector and another; does not alter either one. |
Vec2 |
Vec2.addLocal(Vec2 v)
Add another vector to this one and return result - alters this vector. |
static Vec2 |
MathUtils.clamp(Vec2 a,
Vec2 low,
Vec2 high)
|
Vec2 |
Vec2.clone()
|
static Vec2 |
Vec2.cross(float s,
Vec2 a)
|
static Vec2 |
Vec2.cross(Vec2 a,
float s)
|
static Vec2 |
Vec2.max(Vec2 a,
Vec2 b)
|
static Vec2 |
Vec2.min(Vec2 a,
Vec2 b)
|
Vec2 |
Vec2.mul(float a)
Return this vector multiplied by a scalar; does not alter this vector. |
static Vec2 |
Mat22.mul(Mat22 R,
Vec2 v)
|
Vec2 |
Mat22.mul(Vec2 v)
Multiply a vector by this matrix. |
static Vec2 |
XForm.mul(XForm T,
Vec2 v)
|
Vec2 |
Vec2.mulLocal(float a)
Multiply this vector by a number and return result - alters this vector. |
static Vec2 |
Mat22.mulT(Mat22 R,
Vec2 v)
|
Vec2 |
Mat22.mulT(Vec2 v)
Multiply a vector by the transpose of this matrix. |
static Vec2 |
XForm.mulT(XForm T,
Vec2 v)
|
Vec2 |
Vec2.negate()
Return the negation of this vector; does not alter this vector. |
Vec2 |
Vec2.negateLocal()
Flip the vector and return it - alters this vector. |
Vec2 |
Mat22.solve(Vec2 b)
Solve A * x = b where A = this matrix. |
Vec2 |
Vec2.sub(Vec2 v)
Return the difference of this vector and another; does not alter either one. |
Vec2 |
Vec2.subLocal(Vec2 v)
Subtract another vector from this one and return result - alters this vector. |
Methods in org.jbox2d.common with parameters of type Vec2 | |
---|---|
static Vec2 |
Vec2.abs(Vec2 a)
|
Vec2 |
Vec2.add(Vec2 v)
Return the sum of this vector and another; does not alter either one. |
Vec2 |
Vec2.addLocal(Vec2 v)
Add another vector to this one and return result - alters this vector. |
static Vec2 |
MathUtils.clamp(Vec2 a,
Vec2 low,
Vec2 high)
|
static Vec2 |
Vec2.cross(float s,
Vec2 a)
|
static Vec2 |
Vec2.cross(Vec2 a,
float s)
|
static float |
Vec2.cross(Vec2 a,
Vec2 b)
|
static float |
Vec2.dot(Vec2 a,
Vec2 b)
|
static Vec2 |
Vec2.max(Vec2 a,
Vec2 b)
|
static Vec2 |
Vec2.min(Vec2 a,
Vec2 b)
|
static Vec2 |
Mat22.mul(Mat22 R,
Vec2 v)
|
Vec2 |
Mat22.mul(Vec2 v)
Multiply a vector by this matrix. |
static Vec2 |
XForm.mul(XForm T,
Vec2 v)
|
static Vec2 |
Mat22.mulT(Mat22 R,
Vec2 v)
|
Vec2 |
Mat22.mulT(Vec2 v)
Multiply a vector by the transpose of this matrix. |
static Vec2 |
XForm.mulT(XForm T,
Vec2 v)
|
void |
Vec2.set(Vec2 v)
Set this vector to another vector. |
void |
Mat22.set(Vec2 c1,
Vec2 c2)
Set by column vectors. |
Vec2 |
Mat22.solve(Vec2 b)
Solve A * x = b where A = this matrix. |
Vec2 |
Vec2.sub(Vec2 v)
Return the difference of this vector and another; does not alter either one. |
Vec2 |
Vec2.subLocal(Vec2 v)
Subtract another vector from this one and return result - alters this vector. |
Constructors in org.jbox2d.common with parameters of type Vec2 | |
---|---|
Mat22(Vec2 c1,
Vec2 c2)
Create a matrix with given vectors as columns. |
|
XForm(Vec2 _position,
Mat22 _R)
Initialize using a position vector and a rotation matrix. |
Uses of Vec2 in org.jbox2d.dynamics |
---|
Fields in org.jbox2d.dynamics declared as Vec2 | |
---|---|
Vec2 |
Body.m_force
|
Vec2 |
Body.m_linearVelocity
|
Vec2 |
BodyDef.position
The world position of the body. |
Methods in org.jbox2d.dynamics that return Vec2 | |
---|---|
Vec2 |
World.getGravity()
Get a clone of the global gravity vector. |
Vec2 |
Body.getLinearVelocity()
Get a copy of the linear velocity of the center of mass. |
Vec2 |
Body.getLinearVelocityFromLocalPoint(Vec2 localPoint)
Get the world velocity of a local point. |
Vec2 |
Body.getLinearVelocityFromWorldPoint(Vec2 worldPoint)
Get the world linear velocity of a world point attached to this body. |
Vec2 |
Body.getLocalCenter()
Get a copy of the local position of the center of mass. |
Vec2 |
Body.getLocalPoint(Vec2 worldPoint)
Gets a local point relative to the body's origin given a world point. |
Vec2 |
Body.getLocalVector(Vec2 worldVector)
Gets a local vector given a world vector. |
Vec2 |
Body.getPosition()
Get a copy of the world body origin position. |
Vec2 |
Body.getWorldCenter()
Get a copy of the world position of the center of mass. |
Vec2 |
Body.getWorldPoint(Vec2 localPoint)
Get the world coordinates of a point given the local coordinates. |
Vec2 |
Body.getWorldVector(Vec2 localVector)
Get the world coordinates of a vector given the local coordinates. |
Vec2 |
DebugDraw.screenToWorld(float screenx,
float screeny)
|
Vec2 |
DebugDraw.screenToWorld(Vec2 screenV)
|
Vec2 |
DebugDraw.worldToScreen(float worldx,
float worldy)
|
Vec2 |
DebugDraw.worldToScreen(Vec2 worldV)
|
Methods in org.jbox2d.dynamics with parameters of type Vec2 | |
---|---|
void |
Body.applyForce(Vec2 force,
Vec2 point)
Apply a force at a world point. |
void |
Body.applyImpulse(Vec2 impulse,
Vec2 point)
Apply an impulse at a point. |
abstract void |
DebugDraw.drawCircle(Vec2 center,
float radius,
Color3f color)
|
abstract void |
DebugDraw.drawPoint(Vec2 position,
float f,
Color3f color3f)
|
abstract void |
DebugDraw.drawPolygon(Vec2[] vertices,
int vertexCount,
Color3f color)
|
abstract void |
DebugDraw.drawSegment(Vec2 p1,
Vec2 p2,
Color3f color)
|
abstract void |
DebugDraw.drawSolidCircle(Vec2 center,
float radius,
Vec2 axis,
Color3f color)
|
abstract void |
DebugDraw.drawSolidPolygon(Vec2[] vertices,
int vertexCount,
Color3f color)
|
Vec2 |
Body.getLinearVelocityFromLocalPoint(Vec2 localPoint)
Get the world velocity of a local point. |
Vec2 |
Body.getLinearVelocityFromWorldPoint(Vec2 worldPoint)
Get the world linear velocity of a world point attached to this body. |
Vec2 |
Body.getLocalPoint(Vec2 worldPoint)
Gets a local point relative to the body's origin given a world point. |
Vec2 |
Body.getLocalVector(Vec2 worldVector)
Gets a local vector given a world vector. |
Vec2 |
Body.getWorldPoint(Vec2 localPoint)
Get the world coordinates of a point given the local coordinates. |
Vec2 |
Body.getWorldVector(Vec2 localVector)
Get the world coordinates of a vector given the local coordinates. |
Vec2 |
DebugDraw.screenToWorld(Vec2 screenV)
|
void |
World.setGravity(Vec2 gravity)
Change the global gravity vector. |
void |
Body.setLinearVelocity(Vec2 v)
Set the linear velocity of the center of mass. |
boolean |
Body.setXForm(Vec2 position,
float angle)
Set the position of the body's origin and rotation (radians). |
void |
Island.solve(TimeStep step,
Vec2 gravity,
boolean correctPositions,
boolean allowSleep)
|
Vec2 |
DebugDraw.worldToScreen(Vec2 worldV)
|
Constructors in org.jbox2d.dynamics with parameters of type Vec2 | |
---|---|
World(AABB worldAABB,
Vec2 gravity,
boolean doSleep)
Construct a world object. |
Uses of Vec2 in org.jbox2d.dynamics.contacts |
---|
Fields in org.jbox2d.dynamics.contacts declared as Vec2 | |
---|---|
Vec2 |
ContactConstraintPoint.localAnchor1
|
Vec2 |
ContactConstraintPoint.localAnchor2
|
Vec2 |
ContactResult.normal
Points from shape1 to shape2 |
Vec2 |
ContactPoint.normal
Points from shape1 to shape2 |
Vec2 |
ContactConstraint.normal
|
Vec2 |
ContactResult.position
Position in world coordinates |
Vec2 |
ContactPoint.position
Position in world coordinates |
Vec2 |
ContactConstraintPoint.r1
|
Vec2 |
ContactConstraintPoint.r2
|
Vec2 |
ContactPoint.velocity
Velocity of point on body2 relative to point on body1 (pre-solver) |
Uses of Vec2 in org.jbox2d.dynamics.joints |
---|
Fields in org.jbox2d.dynamics.joints declared as Vec2 | |
---|---|
Vec2 |
PulleyJointDef.groundAnchor1
|
Vec2 |
PulleyJointDef.groundAnchor2
|
Vec2 |
Jacobian.linear1
|
Vec2 |
Jacobian.linear2
|
Vec2 |
RevoluteJointDef.localAnchor1
|
Vec2 |
PulleyJointDef.localAnchor1
|
Vec2 |
PrismaticJointDef.localAnchor1
|
Vec2 |
DistanceJointDef.localAnchor1
The local anchor point relative to body1's origin. |
Vec2 |
RevoluteJointDef.localAnchor2
|
Vec2 |
PulleyJointDef.localAnchor2
|
Vec2 |
PrismaticJointDef.localAnchor2
|
Vec2 |
DistanceJointDef.localAnchor2
The local anchor point relative to body2's origin. |
Vec2 |
PrismaticJointDef.localAxis1
|
Vec2 |
MouseJoint.m_C
|
Vec2 |
MouseJoint.m_force
|
Vec2 |
PulleyJoint.m_groundAnchor1
|
Vec2 |
GearJoint.m_groundAnchor1
|
Vec2 |
PulleyJoint.m_groundAnchor2
|
Vec2 |
GearJoint.m_groundAnchor2
|
Vec2 |
MouseJoint.m_localAnchor
|
Vec2 |
RevoluteJoint.m_localAnchor1
|
Vec2 |
PulleyJoint.m_localAnchor1
|
Vec2 |
PrismaticJoint.m_localAnchor1
|
Vec2 |
GearJoint.m_localAnchor1
|
Vec2 |
DistanceJoint.m_localAnchor1
|
Vec2 |
RevoluteJoint.m_localAnchor2
|
Vec2 |
PulleyJoint.m_localAnchor2
|
Vec2 |
PrismaticJoint.m_localAnchor2
|
Vec2 |
GearJoint.m_localAnchor2
|
Vec2 |
DistanceJoint.m_localAnchor2
|
Vec2 |
PrismaticJoint.m_localXAxis1
|
Vec2 |
PrismaticJoint.m_localYAxis1
|
Vec2 |
RevoluteJoint.m_pivotForce
|
Vec2 |
MouseJoint.m_target
|
Vec2 |
DistanceJoint.m_u
|
Vec2 |
PulleyJoint.m_u1
|
Vec2 |
PulleyJoint.m_u2
|
Vec2 |
MouseJointDef.target
The initial world target point. |
Methods in org.jbox2d.dynamics.joints that return Vec2 | |
---|---|
Vec2 |
RevoluteJoint.getAnchor1()
|
Vec2 |
PulleyJoint.getAnchor1()
|
Vec2 |
PrismaticJoint.getAnchor1()
|
Vec2 |
MouseJoint.getAnchor1()
|
abstract Vec2 |
Joint.getAnchor1()
Get the anchor point on body1 in world coordinates. |
Vec2 |
GearJoint.getAnchor1()
|
Vec2 |
DistanceJoint.getAnchor1()
|
Vec2 |
RevoluteJoint.getAnchor2()
|
Vec2 |
PulleyJoint.getAnchor2()
|
Vec2 |
PrismaticJoint.getAnchor2()
|
Vec2 |
MouseJoint.getAnchor2()
|
abstract Vec2 |
Joint.getAnchor2()
Get the anchor point on body2 in world coordinates. |
Vec2 |
GearJoint.getAnchor2()
|
Vec2 |
DistanceJoint.getAnchor2()
|
Vec2 |
PulleyJoint.getGroundAnchor1()
|
Vec2 |
PulleyJoint.getGroundAnchor2()
|
Vec2 |
RevoluteJoint.getReactionForce()
|
Vec2 |
PulleyJoint.getReactionForce()
|
Vec2 |
PrismaticJoint.getReactionForce()
|
Vec2 |
MouseJoint.getReactionForce()
|
abstract Vec2 |
Joint.getReactionForce()
Get the reaction force on body2 at the joint anchor. |
Vec2 |
GearJoint.getReactionForce()
|
Vec2 |
DistanceJoint.getReactionForce()
|
Methods in org.jbox2d.dynamics.joints with parameters of type Vec2 | |
---|---|
void |
RevoluteJointDef.initialize(Body b1,
Body b2,
Vec2 anchor)
|
void |
PrismaticJointDef.initialize(Body b1,
Body b2,
Vec2 anchor,
Vec2 axis)
|
void |
DistanceJointDef.initialize(Body b1,
Body b2,
Vec2 anchor1,
Vec2 anchor2)
Initialize the bodies, anchors, and length using the world anchors. |
void |
PulleyJointDef.initialize(Body b1,
Body b2,
Vec2 ga1,
Vec2 ga2,
Vec2 anchor1,
Vec2 anchor2,
float r)
|
void |
MouseJoint.setTarget(Vec2 target)
Use this to update the target point. |
Uses of Vec2 in org.jbox2d.testbed |
---|
Fields in org.jbox2d.testbed declared as Vec2 | |
---|---|
protected Vec2 |
AbstractExample.bombSpawnPoint
The point at which we will place a bomb when completeBombSpawn() is called. |
Vec2 |
AbstractExample.mouseScreen
Screen coordinates of mouse |
Vec2 |
AbstractExample.mouseWorld
World coordinates of mouse |
Vec2 |
ExampleContactPoint.normal
|
Vec2 |
AbstractExample.pmouseScreen
Screen coordinates of mouse on last frame |
Vec2 |
ExampleContactPoint.position
|
Vec2 |
ExampleContactPoint.velocity
|
Methods in org.jbox2d.testbed that return Vec2 | |
---|---|
Vec2 |
ProcessingDebugDraw.screenToWorld(float x,
float y)
|
Vec2 |
ProcessingDebugDraw.screenToWorld(Vec2 screen)
|
Vec2 |
ProcessingDebugDraw.worldToScreen(float x,
float y)
|
Vec2 |
ProcessingDebugDraw.worldToScreen(Vec2 world)
|
Vec2 |
ProcessingDebugDraw.worldToScreenVector(float x,
float y)
|
Vec2 |
ProcessingDebugDraw.worldToScreenVector(Vec2 world)
|
Methods in org.jbox2d.testbed with parameters of type Vec2 | |
---|---|
void |
AbstractExample.bindImage(processing.core.PImage p,
Vec2 localOffset,
float localRotation,
float localScale,
Body b)
Draws an image on a body. |
void |
ProcessingDebugDraw.drawCircle(Vec2 center,
float radius,
Color3f color)
|
void |
ProcessingDebugDraw.drawImage(processing.core.PImage image,
Vec2 position,
float rotation,
float localScale,
Vec2 localOffset,
float halfImageWidth,
float halfImageHeight)
First image is centered on position, then localScale is applied, then localOffset, and lastly rotation. |
void |
ProcessingDebugDraw.drawPoint(Vec2 position,
float f,
Color3f color)
|
void |
ProcessingDebugDraw.drawPolygon(Vec2[] vertices,
int vertexCount,
Color3f color)
|
void |
ProcessingDebugDraw.drawSegment(Vec2 p1,
Vec2 p2,
Color3f color)
|
void |
ProcessingDebugDraw.drawSolidCircle(Vec2 center,
float radius,
Vec2 axis,
Color3f color)
|
void |
ProcessingDebugDraw.drawSolidPolygon(Vec2[] vertices,
int vertexCount,
Color3f color)
|
void |
AbstractExample.launchBomb(Vec2 position,
Vec2 velocity)
Launch bomb from a specific position with a given velocity. |
void |
AbstractExample.mouseDown(Vec2 p)
Handle mouseDown events. |
void |
AbstractExample.mouseMove(Vec2 p)
Handle mouseMove events (TestbedMain also sends mouseDragged events here) |
Vec2 |
ProcessingDebugDraw.screenToWorld(Vec2 screen)
|
void |
AbstractExample.spawnBomb(Vec2 worldPt)
Begins spawning a bomb, spawn finishes and bomb is created upon calling completeBombSpawn(). |
Vec2 |
ProcessingDebugDraw.worldToScreen(Vec2 world)
|
Vec2 |
ProcessingDebugDraw.worldToScreenVector(Vec2 world)
|
Uses of Vec2 in org.jbox2d.testbed.tests |
---|
Fields in org.jbox2d.testbed.tests declared as Vec2 | |
---|---|
Vec2[] |
SpriteBinding.localCoords
|
Vec2[] |
SpriteBinding.texCoords
|
Methods in org.jbox2d.testbed.tests with parameters of type Vec2 | |
---|---|
void |
SpringRestitutionTest.addSpringForce(Body bA,
Vec2 localA,
Body bB,
Vec2 localB,
float k,
float friction,
float desiredDist)
|
void |
SensorTest.addSpringForce(Body bA,
Vec2 localA,
Body bB,
Vec2 localB,
float k,
float friction,
float desiredDist)
|
void |
SensorTest.createParticle(Vec2 pos)
|
void |
ShapeDrawing.createStrokeRect(Vec2 start,
Vec2 end,
float radius,
Body body,
PolygonDef sd)
|
void |
ShapeDrawing.mouseDown(Vec2 p)
|
void |
ShapeDrawing.mouseMove(Vec2 p)
|
Constructors in org.jbox2d.testbed.tests with parameters of type Vec2 | |
---|---|
Biped(World w,
Vec2 position)
|
Uses of Vec2 in org.jbox2d.util.blob |
---|
Fields in org.jbox2d.util.blob declared as Vec2 | |
---|---|
Vec2 |
BlobPoint.position
|
Methods in org.jbox2d.util.blob that return Vec2 | |
---|---|
Vec2 |
CircularBlobContainer.getCenter()
|
Methods in org.jbox2d.util.blob with parameters of type Vec2 | |
---|---|
boolean |
DonutBlobContainer.containsPoint(Vec2 p)
|
boolean |
CircularBlobContainer.containsPoint(Vec2 p)
|
boolean |
BlobContainer.containsPoint(Vec2 p)
Is the Vec2 within the desired geometry? |
void |
CircularBlobContainer.setCenter(Vec2 c)
|
Constructors in org.jbox2d.util.blob with parameters of type Vec2 | |
---|---|
CircularBlobContainer(Vec2 _center,
float _radius)
|
|
DonutBlobContainer(Vec2 _center,
float _radiusSmall,
float _radiusLarge)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |