mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
71 lines
1.6 KiB
C++
71 lines
1.6 KiB
C++
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
|
|
|
|
#ifndef _70F7A2EE1B6E4dd0AF07E4BFA609A3D1
|
|
#define _70F7A2EE1B6E4dd0AF07E4BFA609A3D1
|
|
|
|
#include "G3D/Vector2.h"
|
|
#include "G3D/Vector3.h"
|
|
#include "G3D/Vector4.h"
|
|
#include "G3D/Matrix3.h"
|
|
#include "G3D/Matrix4.h"
|
|
#include "G3D/Vector3int16.h"
|
|
#include "G3D/Vector2int16.h"
|
|
#include "G3D/Color4uint8.h"
|
|
#include "G3D/Color3uint8.h"
|
|
#include "G3D/CoordinateFrame.h"
|
|
#include "G3D/Plane.h"
|
|
#include "G3D/Line.h"
|
|
#include "G3D/LineSegment.h"
|
|
|
|
#include "G3D/AABox.h"
|
|
#include "G3D/Box.h"
|
|
#include "RbxG3D/RbxCamera.h"
|
|
#include "G3D/Color3.h"
|
|
#include "G3D/Color4.h"
|
|
#include "G3D/g3dmath.h"
|
|
#include "G3D/Rect2D.h"
|
|
#include "G3D/Sphere.h"
|
|
|
|
#include "G3D/vectorMath.h"
|
|
#include "G3D/Debug.h"
|
|
|
|
// TODO: this can cause namespace collisions:
|
|
//using G3D::Array;
|
|
|
|
namespace RBX {
|
|
typedef G3D::Vector2 Vector2;
|
|
typedef G3D::Vector3 Vector3;
|
|
typedef G3D::Vector4 Vector4;
|
|
typedef G3D::Vector2int16 Vector2int16;
|
|
typedef G3D::Vector3int16 Vector3int16;
|
|
typedef G3D::Color4uint8 Color4uint8;
|
|
typedef G3D::Color3uint8 Color3uint8;
|
|
typedef G3D::Matrix3 Matrix3;
|
|
typedef G3D::Matrix4 Matrix4;
|
|
typedef G3D::CoordinateFrame CoordinateFrame;
|
|
typedef RBX::RbxRay Ray;
|
|
typedef G3D::Plane Plane;
|
|
typedef G3D::Line Line;
|
|
typedef G3D::LineSegment LineSegment;
|
|
typedef G3D::Color3 Color3;
|
|
typedef G3D::Color4 Color4;
|
|
typedef G3D::Rect2D Rect2D;
|
|
typedef G3D::Box Box;
|
|
typedef G3D::AABox AABox;
|
|
typedef G3D::Sphere Sphere;
|
|
|
|
enum IntersectResult
|
|
{
|
|
irNone = 0,
|
|
irPartial =1,
|
|
irFull = 2
|
|
};
|
|
}
|
|
|
|
namespace G3D
|
|
{
|
|
std::size_t hash_value(const G3D::Vector3& v);
|
|
std::size_t hash_value(const G3D::Vector3int16& v);
|
|
}
|
|
|
|
#endif |