|
FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "cmdline/cmdline.h"#include "debugconsole/console.h"#include "globalincs/systemvars.h"#include "graphics/2d.h"#include "io/key.h"#include "render/3dinternal.h"Go to the source code of this file.
Functions | |
| float | g3_draw_laser_htl (const vec3d *p0, float width1, const vec3d *p1, float width2, int r, int g, int b, uint tmap_flags) |
| float | g3_draw_laser (const vec3d *headp, float head_width, const vec3d *tailp, float tail_width, uint tmap_flags, float max_len) |
| float | g3_draw_laser_rgb (const vec3d *headp, float head_width, const vec3d *tailp, float tail_width, int r, int g, int b, uint tmap_flags, float max_len) |
Variables | |
| int | Lasers = 1 |
| float g3_draw_laser | ( | const vec3d * | headp, |
| float | head_width, | ||
| const vec3d * | tailp, | ||
| float | tail_width, | ||
| uint | tmap_flags = TMAP_FLAG_TEXTURED, |
||
| float | max_len = 0.0f |
||
| ) |
Draw a laser shaped 3d looking thing.
If max_len is > 1.0, then this caps the length to be no longer than max_len pixels
Definition at line 116 of file 3dlaser.cpp.
| float g3_draw_laser_htl | ( | const vec3d * | p0, |
| float | width1, | ||
| const vec3d * | p1, | ||
| float | width2, | ||
| int | r, | ||
| int | g, | ||
| int | b, | ||
| uint | tmap_flags | ||
| ) |
Definition at line 24 of file 3dlaser.cpp.
| float g3_draw_laser_rgb | ( | const vec3d * | headp, |
| float | head_width, | ||
| const vec3d * | tailp, | ||
| float | tail_width, | ||
| int | r, | ||
| int | g, | ||
| int | b, | ||
| uint | tmap_flags = TMAP_FLAG_TEXTURED|TMAP_FLAG_RGB, |
||
| float | max_len = 0.0f |
||
| ) |
Draw a laser shaped 3d looking thing using vertex coloring (useful for things like colored laser glows)
If max_len is > 1.0, then this caps the length to be no longer than max_len pixels
Definition at line 267 of file 3dlaser.cpp.
| int Lasers = 1 |
Definition at line 21 of file 3dlaser.cpp.