DS3DVECTOR structure (ksmedia.h)

The DS3DVECTOR structure contains three-dimensional position coordinates, position vector components, or velocity vector components.

Syntax

typedef struct _DS3DVECTOR {
  union {
    FLOAT x;
    FLOAT dvX;
  };
  union {
    FLOAT y;
    FLOAT dvY;
  };
  union {
    FLOAT z;
    FLOAT dvZ;
  };
} DS3DVECTOR, *PDS3DVECTOR;

Members

x

Specifies the x-coordinate of the position.

dvX

Specifies the x-component of the vector.

y

Specifies the y-coordinate of the position.

dvY

Specifies the y-component of the vector.

z

Specifies the z-coordinate of the position.

dvZ

Specifies the z-component of the vector.

Requirements

Requirement Value
Header ksmedia.h (include Ksmedia.h)

See also

KSDS3D_BUFFER_ALL

KSDS3D_LISTENER_ALL

KSDS3D_LISTENER_ORIENTATION