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

#include <GameApi.hh>

Public Member Functions

IMPORT SurfaceApi (Env &e)
IMPORT ~SurfaceApi ()
S plane (PT pos, V u_x, V u_y)
S sphere (PT center, float radius)
S torus (PT center, float dist1, float dist2, PT pos, PT u_x, PT u_y)
S interpolate (S s1, S s2, float val)
S betweensurface (C curve1, C curve2)
S bitmapsphere (PT center, float radius0, float radius1, BM height)
S color (S orig, unsigned int color)
S texture (S orig, BM texture)
BM render (S surf, int sx, int sy, PT ray_0, PT ray_x, PT ray_y, PT ray_z)
PTS surface_points (S surf, int sx, int sy)

Constructor & Destructor Documentation

◆ SurfaceApi()

GameApi::SurfaceApi::SurfaceApi ( GameApi::Env & e)

◆ ~SurfaceApi()

GameApi::SurfaceApi::~SurfaceApi ( )

Member Function Documentation

◆ betweensurface()

S GameApi::SurfaceApi::betweensurface ( C curve1,
C curve2 )

◆ bitmapsphere()

GameApi::S GameApi::SurfaceApi::bitmapsphere ( PT center,
float radius0,
float radius1,
BM height )

◆ color()

S GameApi::SurfaceApi::color ( S orig,
unsigned int color )
Here is the caller graph for this function:

◆ interpolate()

S GameApi::SurfaceApi::interpolate ( S s1,
S s2,
float val )

◆ plane()

GameApi::S GameApi::SurfaceApi::plane ( PT pos,
V u_x,
V u_y )

◆ render()

GameApi::BM GameApi::SurfaceApi::render ( S surf,
int sx,
int sy,
PT ray_0,
PT ray_x,
PT ray_y,
PT ray_z )

◆ sphere()

GameApi::S GameApi::SurfaceApi::sphere ( PT center,
float radius )
Here is the caller graph for this function:

◆ surface_points()

PTS GameApi::SurfaceApi::surface_points ( S surf,
int sx,
int sy )

◆ texture()

GameApi::S GameApi::SurfaceApi::texture ( S orig,
BM texture )
Here is the caller graph for this function:

◆ torus()

S GameApi::SurfaceApi::torus ( PT center,
float dist1,
float dist2,
PT pos,
PT u_x,
PT u_y )

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