@NoOffset @Properties(inherit=liquidfun.class) public class b2Rot extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b2Rot() |
b2Rot(float angle)
Initialize from an angle in radians
|
b2Rot(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
c() |
b2Rot |
c(float setter) |
float |
GetAngle()
Get the angle in radians
|
b2Vec2 |
GetXAxis()
Get the x-axis
|
b2Vec2 |
GetYAxis()
Get the u-axis
|
float |
s()
Sine and cosine
|
b2Rot |
s(float setter) |
void |
Set(float angle)
Set using an angle in radians.
|
void |
SetIdentity()
Set to the identity rotation
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public b2Rot(Pointer p)
Pointer(Pointer)
.public b2Rot()
Copyright © 2022. All rights reserved.