MythTV  master
Classes | Functions
surf3d.h File Reference
#include "v3d.h"
Include dependency graph for surf3d.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  surf3d
 
struct  grid3d
 

Functions

grid3dgrid3d_new (int sizex, int defx, int sizez, int defz, v3d center)
 
void grid3d_free (grid3d **grid)
 
void grid3d_update (grid3d *g, float angle, const float *vals, float dist)
 
void surf3d_draw (surf3d *s, int color, int dist, int *buf, int *back, int W, int H)
 
void grid3d_draw (grid3d *g, int color, int colorlow, int dist, int *buf, int *back, int W, int H)
 
void surf3d_rotate (surf3d *s, float angle)
 
void surf3d_translate (surf3d *s)
 

Function Documentation

◆ grid3d_new()

grid3d* grid3d_new ( int  sizex,
int  defx,
int  sizez,
int  defz,
v3d  center 
)

Definition at line 15 of file surf3d.cpp.

Referenced by tentacle_new().

◆ grid3d_free()

void grid3d_free ( grid3d **  grid)

Definition at line 7 of file surf3d.cpp.

Referenced by tentacle_free().

◆ grid3d_update()

void grid3d_update ( grid3d g,
float  angle,
const float *  vals,
float  dist 
)

Definition at line 99 of file surf3d.cpp.

Referenced by tentacle_update().

◆ surf3d_draw()

void surf3d_draw ( surf3d s,
int  color,
int  dist,
int *  buf,
int *  back,
int  W,
int  H 
)

Definition at line 47 of file surf3d.cpp.

◆ grid3d_draw()

void grid3d_draw ( grid3d g,
int  color,
int  colorlow,
int  dist,
int *  buf,
int *  back,
int  W,
int  H 
)

Definition at line 63 of file surf3d.cpp.

Referenced by tentacle_update().

◆ surf3d_rotate()

void surf3d_rotate ( surf3d s,
float  angle 
)

Definition at line 84 of file surf3d.cpp.

◆ surf3d_translate()

void surf3d_translate ( surf3d s)

Definition at line 93 of file surf3d.cpp.