@Properties(inherit=Bullet3Common.class) public class b3QuadWord extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b3QuadWord()
\brief No initialization constructor
|
b3QuadWord(float _x,
float _y,
float _z)
\brief Three argument constructor (zeros w)
|
b3QuadWord(float _x,
float _y,
float _z,
float _w)
\brief Initializing constructor
|
b3QuadWord(long size)
Native array allocator.
|
b3QuadWord(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FloatPointer |
asFloatPointer()
operator b3Scalar*() replaces operator[], using implicit conversion.
|
boolean |
equals(b3QuadWord other) |
b3QuadWord |
getPointer(long i) |
float |
getX()
\brief Return the x value
|
float |
getY()
\brief Return the y value
|
float |
getZ()
\brief Return the z value
|
FloatPointer |
m_floats() |
float |
m_floats(int i) |
b3QuadWord |
m_floats(int i,
float setter) |
boolean |
notEquals(b3QuadWord other) |
b3QuadWord |
position(long position) |
void |
setMax(b3QuadWord other)
\brief Set each element to the max of the current values and the values of another b3QuadWord
|
void |
setMin(b3QuadWord other)
\brief Set each element to the min of the current values and the values of another b3QuadWord
|
void |
setValue(float _x,
float _y,
float _z)
\brief Set x,y,z and zero w
|
void |
setValue(float _x,
float _y,
float _z,
float _w)
\brief Set the values
|
void |
setW(float _w)
\brief Set the w value
|
void |
setX(float _x)
\brief Set the x value
|
void |
setY(float _y)
\brief Set the y value
|
void |
setZ(float _z)
\brief Set the z value
|
float |
w() |
b3QuadWord |
w(float setter) |
float |
x() |
b3QuadWord |
x(float setter) |
float |
y() |
b3QuadWord |
y(float setter) |
float |
z() |
b3QuadWord |
z(float setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic b3QuadWord(Pointer p)
Pointer(Pointer).public b3QuadWord(long size)
Pointer.position(long).public b3QuadWord()
public b3QuadWord(@Cast(value="const b3Scalar") float _x, @Cast(value="const b3Scalar") float _y, @Cast(value="const b3Scalar") float _z)
x - Value of xy - Value of yz - Value of zpublic b3QuadWord position(long position)
public b3QuadWord getPointer(long i)
getPointer in class Pointerpublic b3QuadWord m_floats(int i, float setter)
@MemberGetter @Cast(value="b3Scalar*") public FloatPointer m_floats()
public b3QuadWord x(float setter)
public b3QuadWord y(float setter)
public b3QuadWord z(float setter)
public b3QuadWord w(float setter)
@Cast(value="b3Scalar*") @Name(value="operator b3Scalar*") public FloatPointer asFloatPointer()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef b3QuadWord other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef b3QuadWord other)
public void setValue(@Cast(value="const b3Scalar") float _x, @Cast(value="const b3Scalar") float _y, @Cast(value="const b3Scalar") float _z)
x - Value of xy - Value of yz - Value of zpublic void setValue(@Cast(value="const b3Scalar") float _x, @Cast(value="const b3Scalar") float _y, @Cast(value="const b3Scalar") float _z, @Cast(value="const b3Scalar") float _w)
x - Value of xy - Value of yz - Value of zw - Value of wpublic void setMax(@Const @ByRef b3QuadWord other)
other - The other b3QuadWord to compare withpublic void setMin(@Const @ByRef b3QuadWord other)
other - The other b3QuadWord to compare withCopyright © 2024. All rights reserved.