Package org.lwjgl.assimp
Class AIMatrix3x3
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.assimp.AIMatrix3x3
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class AIMatrix3x3 extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceRepresents a row-major 3x3 matrix.Layout
struct aiMatrix3x3 { float a1; float a2; float a3; float b1; float b2; float b3; float c1; float c2; float c3; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAIMatrix3x3.BufferAn array ofAIMatrix3x3structs.
-
Constructor Summary
Constructors Constructor Description AIMatrix3x3(java.nio.ByteBuffer container)Creates aAIMatrix3x3instance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description floata1()AIMatrix3x3a1(float value)Sets the specified value to thea1field.floata2()AIMatrix3x3a2(float value)Sets the specified value to thea2field.floata3()AIMatrix3x3a3(float value)Sets the specified value to thea3field.floatb1()AIMatrix3x3b1(float value)Sets the specified value to theb1field.floatb2()AIMatrix3x3b2(float value)Sets the specified value to theb2field.floatb3()AIMatrix3x3b3(float value)Sets the specified value to theb3field.floatc1()AIMatrix3x3c1(float value)Sets the specified value to thec1field.floatc2()AIMatrix3x3c2(float value)Sets the specified value to thec2field.floatc3()AIMatrix3x3c3(float value)Sets the specified value to thec3field.static AIMatrix3x3calloc()Returns a newAIMatrix3x3instance allocated withmemCalloc.static AIMatrix3x3.Buffercalloc(int capacity)Returns a newAIMatrix3x3.Bufferinstance allocated withmemCalloc.static AIMatrix3x3.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newAIMatrix3x3.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIMatrix3x3calloc(org.lwjgl.system.MemoryStack stack)Returns a newAIMatrix3x3instance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIMatrix3x3callocStack()Deprecated.static AIMatrix3x3.BuffercallocStack(int capacity)Deprecated.static AIMatrix3x3.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static AIMatrix3x3callocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static AIMatrix3x3create()Returns a newAIMatrix3x3instance allocated withBufferUtils.static AIMatrix3x3.Buffercreate(int capacity)Returns a newAIMatrix3x3.Bufferinstance allocated withBufferUtils.static AIMatrix3x3create(long address)Returns a newAIMatrix3x3instance for the specified memory address.static AIMatrix3x3.Buffercreate(long address, int capacity)Create aAIMatrix3x3.Bufferinstance at the specified memory.static AIMatrix3x3createSafe(long address)static AIMatrix3x3.BuffercreateSafe(long address, int capacity)static AIMatrix3x3malloc()Returns a newAIMatrix3x3instance allocated withmemAlloc.static AIMatrix3x3.Buffermalloc(int capacity)Returns a newAIMatrix3x3.Bufferinstance allocated withmemAlloc.static AIMatrix3x3.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newAIMatrix3x3.Bufferinstance allocated on the specifiedMemoryStack.static AIMatrix3x3malloc(org.lwjgl.system.MemoryStack stack)Returns a newAIMatrix3x3instance allocated on the specifiedMemoryStack.static AIMatrix3x3mallocStack()Deprecated.static AIMatrix3x3.BuffermallocStack(int capacity)Deprecated.static AIMatrix3x3.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static AIMatrix3x3mallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static floatna1(long struct)Unsafe version ofa1().static voidna1(long struct, float value)Unsafe version ofa1.static floatna2(long struct)Unsafe version ofa2().static voidna2(long struct, float value)Unsafe version ofa2.static floatna3(long struct)Unsafe version ofa3().static voidna3(long struct, float value)Unsafe version ofa3.static floatnb1(long struct)Unsafe version ofb1().static voidnb1(long struct, float value)Unsafe version ofb1.static floatnb2(long struct)Unsafe version ofb2().static voidnb2(long struct, float value)Unsafe version ofb2.static floatnb3(long struct)Unsafe version ofb3().static voidnb3(long struct, float value)Unsafe version ofb3.static floatnc1(long struct)Unsafe version ofc1().static voidnc1(long struct, float value)Unsafe version ofc1.static floatnc2(long struct)Unsafe version ofc2().static voidnc2(long struct, float value)Unsafe version ofc2.static floatnc3(long struct)Unsafe version ofc3().static voidnc3(long struct, float value)Unsafe version ofc3.AIMatrix3x3set(float a1, float a2, float a3, float b1, float b2, float b3, float c1, float c2, float c3)Initializes this struct with the specified values.AIMatrix3x3set(AIMatrix3x3 src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
AIMatrix3x3
public AIMatrix3x3(java.nio.ByteBuffer container)
Creates aAIMatrix3x3instance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
a1
public float a1()
- Returns:
- the value of the
a1field.
-
a2
public float a2()
- Returns:
- the value of the
a2field.
-
a3
public float a3()
- Returns:
- the value of the
a3field.
-
b1
public float b1()
- Returns:
- the value of the
b1field.
-
b2
public float b2()
- Returns:
- the value of the
b2field.
-
b3
public float b3()
- Returns:
- the value of the
b3field.
-
c1
public float c1()
- Returns:
- the value of the
c1field.
-
c2
public float c2()
- Returns:
- the value of the
c2field.
-
c3
public float c3()
- Returns:
- the value of the
c3field.
-
a1
public AIMatrix3x3 a1(float value)
Sets the specified value to thea1field.
-
a2
public AIMatrix3x3 a2(float value)
Sets the specified value to thea2field.
-
a3
public AIMatrix3x3 a3(float value)
Sets the specified value to thea3field.
-
b1
public AIMatrix3x3 b1(float value)
Sets the specified value to theb1field.
-
b2
public AIMatrix3x3 b2(float value)
Sets the specified value to theb2field.
-
b3
public AIMatrix3x3 b3(float value)
Sets the specified value to theb3field.
-
c1
public AIMatrix3x3 c1(float value)
Sets the specified value to thec1field.
-
c2
public AIMatrix3x3 c2(float value)
Sets the specified value to thec2field.
-
c3
public AIMatrix3x3 c3(float value)
Sets the specified value to thec3field.
-
set
public AIMatrix3x3 set(float a1, float a2, float a3, float b1, float b2, float b3, float c1, float c2, float c3)
Initializes this struct with the specified values.
-
set
public AIMatrix3x3 set(AIMatrix3x3 src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static AIMatrix3x3 malloc()
Returns a newAIMatrix3x3instance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static AIMatrix3x3 calloc()
Returns a newAIMatrix3x3instance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static AIMatrix3x3 create()
Returns a newAIMatrix3x3instance allocated withBufferUtils.
-
create
public static AIMatrix3x3 create(long address)
Returns a newAIMatrix3x3instance for the specified memory address.
-
createSafe
@Nullable public static AIMatrix3x3 createSafe(long address)
-
malloc
public static AIMatrix3x3.Buffer malloc(int capacity)
Returns a newAIMatrix3x3.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static AIMatrix3x3.Buffer calloc(int capacity)
Returns a newAIMatrix3x3.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static AIMatrix3x3.Buffer create(int capacity)
Returns a newAIMatrix3x3.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static AIMatrix3x3.Buffer create(long address, int capacity)
Create aAIMatrix3x3.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static AIMatrix3x3.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static AIMatrix3x3 mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static AIMatrix3x3 callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static AIMatrix3x3 mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static AIMatrix3x3 callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static AIMatrix3x3.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static AIMatrix3x3.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static AIMatrix3x3.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static AIMatrix3x3.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static AIMatrix3x3 malloc(org.lwjgl.system.MemoryStack stack)
Returns a newAIMatrix3x3instance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static AIMatrix3x3 calloc(org.lwjgl.system.MemoryStack stack)
Returns a newAIMatrix3x3instance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static AIMatrix3x3.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newAIMatrix3x3.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static AIMatrix3x3.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newAIMatrix3x3.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
na1
public static float na1(long struct)
Unsafe version ofa1().
-
na2
public static float na2(long struct)
Unsafe version ofa2().
-
na3
public static float na3(long struct)
Unsafe version ofa3().
-
nb1
public static float nb1(long struct)
Unsafe version ofb1().
-
nb2
public static float nb2(long struct)
Unsafe version ofb2().
-
nb3
public static float nb3(long struct)
Unsafe version ofb3().
-
nc1
public static float nc1(long struct)
Unsafe version ofc1().
-
nc2
public static float nc2(long struct)
Unsafe version ofc2().
-
nc3
public static float nc3(long struct)
Unsafe version ofc3().
-
na1
public static void na1(long struct, float value)Unsafe version ofa1.
-
na2
public static void na2(long struct, float value)Unsafe version ofa2.
-
na3
public static void na3(long struct, float value)Unsafe version ofa3.
-
nb1
public static void nb1(long struct, float value)Unsafe version ofb1.
-
nb2
public static void nb2(long struct, float value)Unsafe version ofb2.
-
nb3
public static void nb3(long struct, float value)Unsafe version ofb3.
-
nc1
public static void nc1(long struct, float value)Unsafe version ofc1.
-
nc2
public static void nc2(long struct, float value)Unsafe version ofc2.
-
nc3
public static void nc3(long struct, float value)Unsafe version ofc3.
-
-