TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Vector4.h File Reference
#include "G3D/platform.h"
#include "G3D/g3dmath.h"
#include "G3D/Vector3.h"
#include "G3D/Vector2.h"
#include "G3D/Table.h"
#include "G3D/HashTrait.h"
#include "G3D/PositionTrait.h"
#include <string>
+ Include dependency graph for Vector4.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G3D::Vector4
 
struct  HashTrait< G3D::Vector4 >
 
struct  PositionTrait< class G3D::Vector4 >
 

Namespaces

 G3D
 

Functions

void G3D::serialize (const Vector4 &v, class BinaryOutput &b)
 
void G3D::deserialize (Vector4 &v, class BinaryInput &b)
 
G3D::Vector4 operator* (float s, const G3D::Vector4 &v)
 

Detailed Description

Homogeneous vector class.

Morgan McGuire, http://graphics.cs.williams.edu

2002-07-09 2008-11-01

Copyright 2000-2009, Morgan McGuire. All rights reserved.

Function Documentation

G3D::Vector4 operator* ( float  s,
const G3D::Vector4 v 
)
inline
717  {
718  return v * s;
719 }