citro3d
Data Structures | Macros | Typedefs | Functions
types.h File Reference

Various citro3d types. More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  C3D_FVec
 Float vector. More...
 
struct  C3D_Mtx
 Row-major 4x4 matrix. More...
 

Macros

#define C3D_DEPRECATED   __attribute__ ((deprecated))
 

Typedefs

typedef uint8_t u8
 
typedef uint32_t u32
 
typedef u32 C3D_IVec
 Integer vector.
 
typedef C3D_FVec C3D_FQuat
 Float quaternion. See C3D_FVec.
 

Functions

static C3D_IVec IVec_Pack (u8 x, u8 y, u8 z, u8 w)
 Packs 4 u8 integers into a vector. More...
 

Detailed Description

Various citro3d types.

Function Documentation

◆ IVec_Pack()

static C3D_IVec IVec_Pack ( u8  x,
u8  y,
u8  z,
u8  w 
)
inlinestatic

Packs 4 u8 integers into a vector.

Parameters
[in]xX component of the vector.
[in]yY component of the vector.
[in]zZ component of the vector.
[in]wW component of the vector.
Returns
Returns C3D_IVec.