BitmapToolkit Scol plugin
Public Member Functions | Public Attributes | List of all members
Vector3 Class Reference

#include <Prerequisites.h>

Public Member Functions

 Vector3 ()
 
 Vector3 (float xx, float yy, float zz)
 
float GetMagnitude ()
 
Vector3 GetNoramlizedVector ()
 
float DotProduct (Vector3 other)
 
Vector3 CrossProduct (Vector3 other)
 
Vector3 operator- ()
 
Vector3 operator+= (Vector3 other)
 
Vector3 operator-= (Vector3 other)
 
Vector3 operator*= (float scalar)
 
Vector3 operator/= (float scalar)
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

Definition at line 176 of file Prerequisites.h.

Constructor & Destructor Documentation

◆ Vector3() [1/2]

Vector3::Vector3 ( )
inline

Definition at line 179 of file Prerequisites.h.

◆ Vector3() [2/2]

Vector3::Vector3 ( float  xx,
float  yy,
float  zz 
)
inline

Definition at line 186 of file Prerequisites.h.

Member Function Documentation

◆ CrossProduct()

Vector3 Vector3::CrossProduct ( Vector3  other)
inline

Definition at line 213 of file Prerequisites.h.

◆ DotProduct()

float Vector3::DotProduct ( Vector3  other)
inline

Definition at line 208 of file Prerequisites.h.

◆ GetMagnitude()

float Vector3::GetMagnitude ( )
inline

Definition at line 195 of file Prerequisites.h.

◆ GetNoramlizedVector()

Vector3 Vector3::GetNoramlizedVector ( )
inline

Definition at line 200 of file Prerequisites.h.

◆ operator*=()

Vector3 Vector3::operator*= ( float  scalar)
inline

Definition at line 235 of file Prerequisites.h.

◆ operator+=()

Vector3 Vector3::operator+= ( Vector3  other)
inline

Definition at line 225 of file Prerequisites.h.

◆ operator-()

Vector3 Vector3::operator- ( )
inline

Definition at line 220 of file Prerequisites.h.

◆ operator-=()

Vector3 Vector3::operator-= ( Vector3  other)
inline

Definition at line 230 of file Prerequisites.h.

◆ operator/=()

Vector3 Vector3::operator/= ( float  scalar)
inline

Definition at line 240 of file Prerequisites.h.

Member Data Documentation

◆ x

float Vector3::x

Definition at line 249 of file Prerequisites.h.

◆ y

float Vector3::y

Definition at line 250 of file Prerequisites.h.

◆ z

float Vector3::z

Definition at line 251 of file Prerequisites.h.


The documentation for this class was generated from the following file: