@NoOffset @Properties(inherit=liquidfun.class) public class b2Mat22 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b2Mat22()
The default constructor does nothing (for performance).
|
b2Mat22(b2Vec2 c1,
b2Vec2 c2)
Construct this matrix using columns.
|
b2Mat22(float a11,
float a12,
float a21,
float a22)
Construct this matrix using scalars.
|
b2Mat22(long size)
Native array allocator.
|
b2Mat22(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
b2Vec2 |
ex() |
b2Mat22 |
ex(b2Vec2 setter) |
b2Vec2 |
ey() |
b2Mat22 |
ey(b2Vec2 setter) |
b2Mat22 |
GetInverse() |
b2Mat22 |
getPointer(long i) |
b2Mat22 |
position(long position) |
void |
Set(b2Vec2 c1,
b2Vec2 c2)
Initialize this matrix using columns.
|
void |
SetIdentity()
Set this to the identity matrix.
|
void |
SetZero()
Set this matrix to all zeros.
|
b2Vec2 |
Solve(b2Vec2 b)
Solve A * x = b, where b is a column vector.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic b2Mat22(Pointer p)
Pointer(Pointer).public b2Mat22(long size)
Pointer.position(long).public b2Mat22()
public b2Mat22(@Const @ByRef b2Vec2 c1, @Const @ByRef b2Vec2 c2)
public b2Mat22 getPointer(long i)
getPointer in class Pointerpublic void Set(@Const @ByRef b2Vec2 c1, @Const @ByRef b2Vec2 c2)
public void SetIdentity()
public void SetZero()
@ByVal public b2Vec2 Solve(@Const @ByRef b2Vec2 b)
Copyright © 2021. All rights reserved.