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

#include <GameApi.hh>

Public Member Functions

IMPORT VectorApi (Env &e)
IMPORT V null_vector ()
IMPORT V vector (float delta_x, float delta_y, float delta_z)
IMPORT V sum (V v1, V v2)
IMPORT V mul (V v1, float scalar)
IMPORT float dot (V v1, V v2)
IMPORT V cross (V v1, V v2)
IMPORT float projection_length (V u, V u_x)
IMPORT V projection_1 (V u, V u_x)
IMPORT V projection_2 (V u, V u_x)
IMPORT V neg (V v)
IMPORT float dist3d (V v)
IMPORT float dist2d (V v)

Constructor & Destructor Documentation

◆ VectorApi()

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

Member Function Documentation

◆ cross()

EXPORT GameApi::V GameApi::VectorApi::cross ( V v1,
V v2 )

◆ dist2d()

IMPORT float GameApi::VectorApi::dist2d ( V v)

◆ dist3d()

IMPORT float GameApi::VectorApi::dist3d ( V v)

◆ dot()

EXPORT float GameApi::VectorApi::dot ( V v1,
V v2 )

◆ mul()

EXPORT GameApi::V GameApi::VectorApi::mul ( V v1,
float scalar )

◆ neg()

EXPORT GameApi::V GameApi::VectorApi::neg ( V v)

◆ null_vector()

EXPORT GameApi::V GameApi::VectorApi::null_vector ( )

◆ projection_1()

EXPORT GameApi::V GameApi::VectorApi::projection_1 ( V u,
V u_x )

◆ projection_2()

EXPORT GameApi::V GameApi::VectorApi::projection_2 ( V u,
V u_x )

◆ projection_length()

EXPORT float GameApi::VectorApi::projection_length ( V u,
V u_x )

◆ sum()

EXPORT GameApi::V GameApi::VectorApi::sum ( V v1,
V v2 )

◆ vector()

EXPORT GameApi::V GameApi::VectorApi::vector ( float delta_x,
float delta_y,
float delta_z )
Here is the caller graph for this function:

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