GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::DistanceFloatVolumeApi Class Reference

#include <GameApi.hh>

Public Member Functions

IMPORT DistanceFloatVolumeApi (Env &e)
IMPORT FD function (std::function< float(float x, float y, float z)> f)
IMPORT FD fd_sphere (PT center, float radius)
IMPORT FD fd_cube (float start_x, float end_x, float start_y, float end_y, float start_z, float end_z)
IMPORT FD fd_round_cube (float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, float r)
IMPORT FD fd_torus (float radius_1, float radius_2)
IMPORT FD fd_cone (float c_x, float c_y)
IMPORT FD fd_plane (float n_x, float n_y, float n_z, float n_w)
IMPORT FD fd_hex_prism (float h_x, float h_y)
IMPORT FD fd_tri_prism (float h_x, float h_y)
IMPORT FD fd_triangle (PT a, PT b, PT c)
IMPORT FD fd_quad (PT a, PT b, PT c, PT d)
IMPORT FD fd_line (PT start, PT end, float dist)
IMPORT FD fd_color (FD fd, float r, float g, float b, float a)
IMPORT FD fd_rot_x (FD fd, float angle)
IMPORT FD fd_rot_y (FD fd, float angle)
IMPORT FD fd_rot_z (FD fd, float angle)
IMPORT FD fd_trans (FD fd, float dx, float dy, float dz)
IMPORT FD fd_min (FD a1, FD a2)
IMPORT FD fd_max (FD a1, FD a2)
IMPORT FD fd_and_not (FD a1, FD a2)
IMPORT FD fd_blend (FD a1, FD a2, float k)
IMPORT FD recalculate_normals (FD fd)
IMPORT FD ambient_occulsion (FD fd, float d, float i)
IMPORT P distance_poly (EveryApi &ev, FD fd, float dx, float dy, float dz, int sx, int sy, float ssx, float ssy, int ssxi, int ssyi, float ssx2, float ssy2)
IMPORT P distance_poly_cyl (EveryApi &ev, FD fd, float pos_x, float pos_y, float pos_z, float dx, float dy, float dz, int sx, int sy, float ssx, float ssy, int ssxi, int ssyi, float ssx2, float ssy2)
IMPORT P distance_poly_sph (EveryApi &ev, FD fd, float dx, float dy, float dz, int sx, int sy, float ssx, float ssy, int ssxi, int ssyi, float ssx2, float ssy2)
IMPORT PT ray_shape_intersect (FD shape, PT pos, V vec)
IMPORT BM render (FD obj, PT pos, V u_x, V u_y, V u_z, int sx, int sy)
IMPORT BM render2 (EveryApi &ev, FD obj, int sx, int sy)
IMPORT std::string shader_func (std::string name, FD obj, COV color)

Constructor & Destructor Documentation

◆ DistanceFloatVolumeApi()

GameApi::DistanceFloatVolumeApi::DistanceFloatVolumeApi ( Env & e)
Here is the caller graph for this function:

Member Function Documentation

◆ ambient_occulsion()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::ambient_occulsion ( FD fd,
float d,
float i )
Here is the caller graph for this function:

◆ distance_poly()

EXPORT GameApi::P GameApi::DistanceFloatVolumeApi::distance_poly ( EveryApi & ev,
FD fd,
float dx,
float dy,
float dz,
int sx,
int sy,
float ssx,
float ssy,
int ssxi,
int ssyi,
float ssx2,
float ssy2 )
Here is the caller graph for this function:

◆ distance_poly_cyl()

EXPORT GameApi::P GameApi::DistanceFloatVolumeApi::distance_poly_cyl ( EveryApi & ev,
FD fd,
float pos_x,
float pos_y,
float pos_z,
float dx,
float dy,
float dz,
int sx,
int sy,
float ssx,
float ssy,
int ssxi,
int ssyi,
float ssx2,
float ssy2 )
Here is the caller graph for this function:

◆ distance_poly_sph()

EXPORT GameApi::P GameApi::DistanceFloatVolumeApi::distance_poly_sph ( EveryApi & ev,
FD fd,
float dx,
float dy,
float dz,
int sx,
int sy,
float ssx,
float ssy,
int ssxi,
int ssyi,
float ssx2,
float ssy2 )
Here is the caller graph for this function:

◆ fd_and_not()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_and_not ( FD a1,
FD a2 )
Here is the caller graph for this function:

◆ fd_blend()

GameApi::FD GameApi::DistanceFloatVolumeApi::fd_blend ( FD a1,
FD a2,
float k )
Here is the caller graph for this function:

◆ fd_color()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_color ( FD fd,
float r,
float g,
float b,
float a )
Here is the caller graph for this function:

◆ fd_cone()

IMPORT FD GameApi::DistanceFloatVolumeApi::fd_cone ( float c_x,
float c_y )

◆ fd_cube()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_cube ( float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z )
Here is the caller graph for this function:

◆ fd_hex_prism()

IMPORT FD GameApi::DistanceFloatVolumeApi::fd_hex_prism ( float h_x,
float h_y )

◆ fd_line()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_line ( PT start,
PT end,
float dist )
Here is the caller graph for this function:

◆ fd_max()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_max ( FD a1,
FD a2 )
Here is the caller graph for this function:

◆ fd_min()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_min ( FD a1,
FD a2 )
Here is the caller graph for this function:

◆ fd_plane()

IMPORT FD GameApi::DistanceFloatVolumeApi::fd_plane ( float n_x,
float n_y,
float n_z,
float n_w )

◆ fd_quad()

IMPORT FD GameApi::DistanceFloatVolumeApi::fd_quad ( PT a,
PT b,
PT c,
PT d )

◆ fd_rot_x()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_rot_x ( FD fd,
float angle )
Here is the caller graph for this function:

◆ fd_rot_y()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_rot_y ( FD fd,
float angle )
Here is the caller graph for this function:

◆ fd_rot_z()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_rot_z ( FD fd,
float angle )
Here is the caller graph for this function:

◆ fd_round_cube()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_round_cube ( float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z,
float r )
Here is the caller graph for this function:

◆ fd_sphere()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_sphere ( PT center,
float radius )
Here is the caller graph for this function:

◆ fd_torus()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::fd_torus ( float radius_1,
float radius_2 )
Here is the caller graph for this function:

◆ fd_trans()

GameApi::FD GameApi::DistanceFloatVolumeApi::fd_trans ( FD fd,
float dx,
float dy,
float dz )
Here is the caller graph for this function:

◆ fd_tri_prism()

IMPORT FD GameApi::DistanceFloatVolumeApi::fd_tri_prism ( float h_x,
float h_y )

◆ fd_triangle()

IMPORT FD GameApi::DistanceFloatVolumeApi::fd_triangle ( PT a,
PT b,
PT c )

◆ function()

IMPORT FD GameApi::DistanceFloatVolumeApi::function ( std::function< float(float x, float y, float z)> f)

◆ ray_shape_intersect()

EXPORT GameApi::PT GameApi::DistanceFloatVolumeApi::ray_shape_intersect ( FD shape,
PT pos,
V vec )

◆ recalculate_normals()

EXPORT GameApi::FD GameApi::DistanceFloatVolumeApi::recalculate_normals ( FD fd)
Here is the caller graph for this function:

◆ render()

EXPORT GameApi::BM GameApi::DistanceFloatVolumeApi::render ( FD obj,
PT pos,
V u_x,
V u_y,
V u_z,
int sx,
int sy )
Here is the caller graph for this function:

◆ render2()

EXPORT GameApi::BM GameApi::DistanceFloatVolumeApi::render2 ( EveryApi & ev,
FD obj,
int sx,
int sy )
Here is the caller graph for this function:

◆ shader_func()

IMPORT std::string GameApi::DistanceFloatVolumeApi::shader_func ( std::string name,
FD obj,
COV color )

The documentation for this class was generated from the following files: