SilverLining::Vector4(3)

NAME
SilverLining::Vector4 -

A simple double-precision 4D vector class with no operations defined.

SYNOPSIS

#include <Vector4.h>

Inherits SilverLining::MemObject.

  Public Member Functions
Vector4 (double px, double py, double pz, double pw)
Constructs a Vector4 from the given x, y, z, and w values.
Vector4 (const Vector3 &v3)
Constructs a Vector4 from a Vector3, setting w to 1.
Vector4 ()
Default constructor; initializes the Vector4 to (0, 0, 0, 1).

  Public Attributes
double x
The x, y, z, and w data members are public for convenience.

Detailed Description

A simple double-precision 4D vector class with no operations defined. Essentially a struct with constructors.

Constructor & Destructor Documentation

  SilverLining::Vector4::Vector4 (double px, double py, double pz, double pw) [inline]

Constructs a Vector4 from the given x, y, z, and w values.

  SilverLining::Vector4::Vector4 (const Vector3 & v3) [inline]

Constructs a Vector4 from a Vector3, setting w to 1.

Member Data Documentation

  double SilverLining::Vector4::x

The x, y, z, and w data members are public for convenience.

Author

Generated automatically by Doxygen for SilverLining from the source code.