Manipulator

seduce_manipulator_point

boolean seduce_manipulator_point(BInputState *input, RMatrix *m, float *pos, void *id, float scale);

Description: Creates a manipulator for moving a point in space.

seduce_manipulator_pos_xyz

boolean seduce_manipulator_pos_xyz(BInputState *input, RMatrix *m, float *pos, void *id, float *snap, boolean snap_active, boolean x, boolean y, boolean z, float scale, float time);

Description: Creates a manipulator for moving a point in space using 3 separate handles representing the X, Y and Z axis.

seduce_manipulator_point_plane

boolean seduce_manipulator_point_plane(BInputState *input, RMatrix *m, float *pos, void *id, float *snap, boolean snap_active, uint axis, float scale);

Description: Creates a manipulator for moving a point in 2 out of the 3 dimentions.

seduce_manipulator_point_axis

boolean seduce_manipulator_point_axis(BInputState *input, RMatrix *m, float *pos, void *id, float *snap, boolean snap_active, uint axis, float scale);

Description: Creates a manipulator for moving a point along one axis in 3 dimentions.

seduce_manipulator_point_vector

boolean seduce_manipulator_point_vector(BInputState *input, RMatrix *m, float *pos, void *id, float *snap, boolean snap_active, float *vector, float scale);

Description: Creates a manipulator for moving a point along a vector in 3 dimentions.

seduce_manipulator_normal

boolean seduce_manipulator_normal(BInputState *input, RMatrix *m, float *pos, float *normal, void *id, float scale, float time);

Description: Creates a manipulator for defining a normalized vector in 3D space.

seduce_manipulator_radius

boolean seduce_manipulator_radius(BInputState *input, RMatrix *m, float *pos, float *radius, void *id, float time);

Description: Creates a manipulator for defining a radius in 3D space.

seduce_manipulator_scale

boolean seduce_manipulator_scale(BInputState *input, RMatrix *m, float *pos, float *size, void *id, float *snap, boolean snap_active, boolean x, boolean y, boolean z, float scale, float time);

Description: Creates a manipulator for scaling 3 size values in 1, 2 or 3 axis.

seduce_manipulator_rotate

boolean seduce_manipulator_rotate(BInputState *input, RMatrix *matrix, float *pos, float *rotation_matrix, void *id, float *snap, boolean snap_active, float scale, float time);

Description: Creates a manipulator for 3D rotation of a 4x4 matrix.

seduce_manipulator_square_centered

boolean seduce_manipulator_square_centered(BInputState *input, RMatrix *m, float *pos, float *size, void *id, float *snap, boolean snap_active, boolean aspect_lock, float scale, float time);

Description: Creates a set of manipulators for scaling a rectangle, using edge and corner handles.

seduce_manipulator_square_cornered

boolean seduce_manipulator_square_cornered(BInputState *input, RMatrix *m, float *down_left, float *up_right, void *id, float *snap, boolean snap_active, boolean aspect_lock, float scale, float time);

Description: Creates a set of manipulators for scaling and moving a rectangle, using edge and corner handles.

seduce_manipulator_cube_centered

boolean seduce_manipulator_cube_centered(BInputState *input, RMatrix *m, float *pos, float *size, void *id, float *snap, boolean snap_active, float scale, float time);

Description: Creates a set of manipulators for scaling a cube, using edge, surface and corner handles.

seduce_manipulator_cube_cornered

boolean seduce_manipulator_cube_cornered(BInputState *input, RMatrix *m, float *min, float *max, void *id, float *snap, boolean snap_active, float scale, float time);

Description: Creates a set of manipulators for scaling and moving a cube, using edge, surface and corner handles.

seduce_manipulator_slider

boolean seduce_manipulator_slider(BInputState *input, void *id, float *scroll, float *pos_a, float *pos_b, float full_length, float section_length, float size, float red, float green, float blue);

Description: Creates slider between 2 points in 3d space.