Support Forum       G3D Web Page     
Classes | Namespaces | Macros | Typedefs | Functions
Vector2.h File Reference

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...

Classes

struct  HashTrait< G3D::Vector2 >
 
class  G3D::Vector2
 
Do not subclass– this implementation makes assumptions about the memory layout. More...
 

Namespaces

 G3D
 

Macros

#define G3D_base_Vector2_h
 

Typedefs

using G3D::Point2 = Vector2
 

Functions

void G3D::deserialize (Vector2 &v, class BinaryInput &b)
 
Vector2 G3D::operator* (double s, const Vector2 &v)
 
Vector2 G3D::operator* (float s, const Vector2 &v)
 
Vector2 G3D::operator* (int s, const Vector2 &v)
 
G3D::Vector2 operator* (double s, const G3D::Vector2 &v)
 
G3D::Vector2 operator* (int s, const G3D::Vector2 &v)
 
void G3D::serialize (const Vector2 &v, class BinaryOutput &b)
 
Vector2 G3D::squareMagnitude (const Vector2 &x)
 Preserves sign while squaring magnitude. More...
 

Detailed Description

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.

Macro Definition Documentation

◆ G3D_base_Vector2_h

#define G3D_base_Vector2_h

Function Documentation

◆ operator*() [1/2]

G3D::Vector2 operator* ( double  s,
const G3D::Vector2 v 
)
inline

◆ operator*() [2/2]

G3D::Vector2 operator* ( int  s,
const G3D::Vector2 v 
)
inline

documentation generated on Wed Nov 24 2021 08:01:51 using doxygen 1.8.15