0.3.1
Clipping

Files

file  mic3d.h
 

Data Structures

struct  clipping
 Not yet documented. More...
 

Typedefs

typedef enum clip_bitmap clip_bitmap_t
 Not yet documented.
 
typedef enum clip_flags clip_flags_t
 Not yet documented.
 
typedef struct clipping clipping_t
 Not yet documented.
 

Enumerations

enum  clip_bitmap
 Not yet documented. More...
 
enum  clip_flags
 Not yet documented. More...
 

Functions

void clipping_calculate (const int16_vec2_t *screen_points, clipping_t *clipping)
 Given 4 screen_points, calculate the clipping flags.
 

Detailed Description


Data Structure Documentation

◆ clipping

struct clipping

Not yet documented.

Data Fields
clip_flags_t flags[4] Not yet documented.
clip_flags_t and_flags Not yet documented.
clip_flags_t or_flags Not yet documented.

Enumeration Type Documentation

◆ clip_bitmap

Not yet documented.

Enumerator
CLIP_BIT_LEFT 

Not yet documented.

CLIP_BIT_RIGHT 

Not yet documented.

CLIP_BIT_TOP 

Not yet documented.

CLIP_BIT_BOTTOM 

Not yet documented.

CLIP_BIT_NEAR 

Not yet documented.

CLIP_BIT_FAR 

Not yet documented.

◆ clip_flags

enum clip_flags

Not yet documented.

Enumerator
CLIP_FLAGS_NONE 

Not yet documented.

CLIP_FLAGS_LEFT 

Not yet documented.

CLIP_FLAGS_RIGHT 

Not yet documented.

CLIP_FLAGS_TOP 

Not yet documented.

CLIP_FLAGS_BOTTOM 

Not yet documented.

CLIP_FLAGS_NEAR 

Not yet documented.

CLIP_FLAGS_FAR 

Not yet documented.

CLIP_FLAGS_LR 

Not yet documented.

CLIP_FLAGS_TB 

Not yet documented.

CLIP_FLAGS_CULLED 

Not yet documented.

Function Documentation

◆ clipping_calculate()

void clipping_calculate ( const int16_vec2_t screen_points,
clipping_t clipping 
)

Given 4 screen_points, calculate the clipping flags.

Parameters
[in]screen_points
[out]clipping