GLOW API version 1.0 reference

Back to
Table of contents


class GlowViewTransformParams

General information

type: struct
inherits: (none)
module: glowViewTransform

GlowViewTransformParams encloses parameters for construction of a GlowViewTransform.

GLOW programs that use view transforms will need to use GlowViewTransformParams.

Data

Parameter data

GlowTransformData* connectTo

Specifies the transform data to use, or use 0 to create a new transform data object. Initial default is 0.

Vec3f initialTranslation

Initial value for the translation component of the transform to create. Ignored if a connectTo is specified. Initial default is the identity transform.

Quatf initialRotation

Initial value for the rotation component of the transform to create. Ignored if a connectTo is specified. Initial default is the identity transform.

GLfloat initialScale

Initial value for the scale component of the transform to create. Ignored if a connectTo is specified. Initial default is the identity transform.

Static Data

Defaults

static GlowViewTransformParams defaults

Default parameters. These are copied every time a new GlowViewTransformParams is constructed.

Methods

Constructor

GlowViewTransformParams(void)

Constructs a new parameter block, copying defaults

Back to
Table of contents


The GLOW Toolkit