KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Structures | Typedefs
vector.h File Reference

Primitive matrix, vector, and point types. More...

#include <sys/cdefs.h>
#include <arch/types.h>

Go to the source code of this file.

Data Structures

struct  vectorstr
 4-part vector type. More...
 

Typedefs

typedef float matrix_t [4][4]
 Basic 4x4 matrix type. More...
 
typedef struct vectorstr vector_t
 4-part vector type. More...
 
typedef vector_t point_t
 4-part point type (alias to the vector_t type). More...
 

Detailed Description

Primitive matrix, vector, and point types.

This file provides a few primivite data types that are useful for 3D graphics. These are used by the code in kos/bspline.h and can be useful elsewhere, as well.

Author
Dan Potter

Typedef Documentation

typedef float matrix_t[4][4]

Basic 4x4 matrix type.

typedef vector_t point_t

4-part point type (alias to the vector_t type).

typedef struct vectorstr vector_t

4-part vector type.