Panda3D
Public Types | Public Member Functions | Static Public Member Functions | List of all members
UnalignedLMatrix4f Class Reference

This is an "unaligned" LMatrix4. More...

Public Types

enum  { num_components = 16 }
 

Public Member Functions

 __init__ ()
 
 __init__ (const LMatrix4f copy)
 
 __init__ (const UnalignedLMatrix4f copy)
 
 __init__ (float e00, float e01, float e02, float e03, float e10, float e11, float e12, float e13, float e20, float e21, float e22, float e23, float e30, float e31, float e32, float e33)
 
 getData ()
 Returns the address of the first of the nine data elements in the matrix. More...
 
int getNumComponents ()
 Returns the number of elements in the matrix, sixteen. More...
 
bool operator != (const UnalignedLMatrix4f other)
 
 operator() (int row, int col)
 
float operator() (int row, int col)
 
UnalignedLMatrix4f operator= (const LMatrix4f copy)
 
UnalignedLMatrix4f operator= (const UnalignedLMatrix4f copy)
 
bool operator== (const UnalignedLMatrix4f other)
 
 set (float e00, float e01, float e02, float e03, float e10, float e11, float e12, float e13, float e20, float e21, float e22, float e23, float e30, float e31, float e32, float e33)
 

Static Public Member Functions

static TypeHandle getClassType ()
 

Detailed Description

This is an "unaligned" LMatrix4.

It has no functionality other than to store numbers, and it will pack them in as tightly as possible, avoiding any SSE2 alignment requirements shared by the primary LMatrix4 class.

Use it only when you need to pack numbers tightly without respect to alignment, and then copy it to a proper LMatrix4 to get actual use from it.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
num_components 

Member Function Documentation

◆ __init__() [1/4]

__init__ ( )

◆ __init__() [2/4]

__init__ ( const LMatrix4f  copy)

◆ __init__() [3/4]

__init__ ( const UnalignedLMatrix4f  copy)

◆ __init__() [4/4]

__init__ ( float  e00,
float  e01,
float  e02,
float  e03,
float  e10,
float  e11,
float  e12,
float  e13,
float  e20,
float  e21,
float  e22,
float  e23,
float  e30,
float  e31,
float  e32,
float  e33 
)

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getData()

getData ( )

Returns the address of the first of the nine data elements in the matrix.

The remaining elements occupy the next eight positions in row-major order.

◆ getNumComponents()

int getNumComponents ( )

Returns the number of elements in the matrix, sixteen.

◆ operator !=()

bool operator != ( const UnalignedLMatrix4f  other)

◆ operator()() [1/2]

operator() ( int  row,
int  col 
)

◆ operator()() [2/2]

float operator() ( int  row,
int  col 
)

◆ operator=() [1/2]

UnalignedLMatrix4f operator= ( const LMatrix4f  copy)

◆ operator=() [2/2]

UnalignedLMatrix4f operator= ( const UnalignedLMatrix4f  copy)

◆ operator==()

bool operator== ( const UnalignedLMatrix4f  other)

◆ set()

set ( float  e00,
float  e01,
float  e02,
float  e03,
float  e10,
float  e11,
float  e12,
float  e13,
float  e20,
float  e21,
float  e22,
float  e23,
float  e30,
float  e31,
float  e32,
float  e33 
)