Previous Next

DS3DVECTOR

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

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.
y
Specifies the y-coordinate of the position.
z
Specifies the z-coordinate of the position.
dvx
Specifies the x-component of the vector.
dvy
Specifies the y-component of the vector.
dvz
Specifies the z-component of the vector.

Headers

Declared in ksmedia.h. Include ksmedia.h.

See Also

KSDS3D_BUFFER_ALL, KSDS3D_LISTENER_ALL, KSDS3D_LISTENER_ORIENTATION