amino  1.0-beta2
Lightweight Robot Utility Library
rxtype.h File Reference

Scenegraph-related type declarations. More...

Go to the source code of this file.

Macros

#define AA_RX_TF_LEN   7
 Number of elements in a transform. More...
 

Typedefs

typedef int(* aa_sdl_display_fun) (void *context, struct aa_sdl_display_params *params)
 Display handler function to call in SDL loop. More...
 
typedef int(* aa_sdl_win_display_fun) (struct aa_rx_win *win, void *context, struct aa_sdl_display_params *params)
 Display handler function for amino windows to call in SDL loop. More...
 

Detailed Description

Scenegraph-related type declarations.

Definition in file rxtype.h.

Macro Definition Documentation

◆ AA_RX_TF_LEN

#define AA_RX_TF_LEN   7

Number of elements in a transform.

Quaternion (4) + vector (3)

Definition at line 46 of file rxtype.h.

Typedef Documentation

◆ aa_sdl_display_fun

typedef int(* aa_sdl_display_fun) (void *context, struct aa_sdl_display_params *params)

Display handler function to call in SDL loop.

Parameters
contextA pointer to local context
updatedWhether other parts of these scene are updated
paramsParameters for the display function
Returns
Whether any update has occurred

Definition at line 112 of file rxtype.h.

◆ aa_sdl_win_display_fun

typedef int(* aa_sdl_win_display_fun) (struct aa_rx_win *win, void *context, struct aa_sdl_display_params *params)

Display handler function for amino windows to call in SDL loop.

Parameters
winThe window to display in
contextA pointer to the local context for this function
paramsParameters for the display function

Definition at line 123 of file rxtype.h.