xine-lib 1.2.13-20230125hg15249
Data Structures | Functions
surf3d.h File Reference
#include "v3d.h"
#include "goom_graphic.h"
#include "goom_typedefs.h"

Go to the source code of this file.

Data Structures

struct  surf3d
 
struct  grid3d
 

Functions

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

Function Documentation

◆ grid3d_draw()

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

◆ grid3d_free()

void grid3d_free ( grid3d * g)

References grid3d::surf, surf3d::svertex, and surf3d::vertex.

Referenced by tentacle_free().

◆ grid3d_new()

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

◆ grid3d_update()

void grid3d_update ( grid3d * s,
float angle,
float * vals,
float dist )

◆ surf3d_draw()

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

◆ surf3d_rotate()

void surf3d_rotate ( surf3d * s,
float angle )

◆ surf3d_translate()

void surf3d_translate ( surf3d * s)