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

#include <GameApi.hh>

Public Member Functions

IMPORT SpaceApi (Env &e)
 ~SpaceApi ()
SP rotatespace (SP s, float angle)
SP rotatespace (SP s, PT center, float angle)
SP translatespace (SP s, float x, float y)
SP scalespace (SP s, float scale_x, float scale_y)
SP moveorigo (SP s, float x, float y)
float sizex (SP s)
float sizey (SP s)
float origo_x (SP s)
float origo_y (SP s)
PT pos (SP sp, float x, float y, float z=0.0)
PT posN (SP sp, float x, float y, float z=0.0)
float pt_x (PT p)
float pt_y (PT p)
float pt_z (PT p)
PT plus (PT p1, PT p2)

Constructor & Destructor Documentation

◆ SpaceApi()

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

◆ ~SpaceApi()

GameApi::SpaceApi::~SpaceApi ( )

Member Function Documentation

◆ moveorigo()

SP GameApi::SpaceApi::moveorigo ( SP s,
float x,
float y )

◆ origo_x()

float GameApi::SpaceApi::origo_x ( SP s)

◆ origo_y()

float GameApi::SpaceApi::origo_y ( SP s)

◆ plus()

GameApi::PT GameApi::SpaceApi::plus ( PT p1,
PT p2 )
Here is the caller graph for this function:

◆ pos()

GameApi::PT GameApi::SpaceApi::pos ( SP sp,
float x,
float y,
float z = 0.0 )
Here is the caller graph for this function:

◆ posN()

GameApi::PT GameApi::SpaceApi::posN ( SP sp,
float x,
float y,
float z = 0.0 )

◆ pt_x()

float GameApi::SpaceApi::pt_x ( PT p)
Here is the caller graph for this function:

◆ pt_y()

float GameApi::SpaceApi::pt_y ( PT p)

◆ pt_z()

float GameApi::SpaceApi::pt_z ( PT p)
Here is the caller graph for this function:

◆ rotatespace() [1/2]

SP GameApi::SpaceApi::rotatespace ( SP s,
float angle )

◆ rotatespace() [2/2]

SP GameApi::SpaceApi::rotatespace ( SP s,
PT center,
float angle )

◆ scalespace()

SP GameApi::SpaceApi::scalespace ( SP s,
float scale_x,
float scale_y )

◆ sizex()

float GameApi::SpaceApi::sizex ( SP s)

◆ sizey()

float GameApi::SpaceApi::sizey ( SP s)

◆ translatespace()

SP GameApi::SpaceApi::translatespace ( SP s,
float x,
float y )

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