@NoOffset @Properties(inherit=liquidfun.class) public class b2Rot extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic b2Rot(Pointer p)
Pointer.Pointer(Pointer).public b2Rot()
Copyright © 2019. All rights reserved.