forked from idmillington/aicore
/
aimath.cpp
24 lines (22 loc) · 848 Bytes
/
aimath.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* Part of the Artificial Intelligence for Games system.
*
* Copyright (c) Ian Millington 2003-2006. All Rights Reserved.
*
* This software is distributed under licence. Use of this software
* implies agreement with all terms and conditions of the accompanying
* software licence.
*/
#include <aicore/aicore.h>
namespace aicore
{
const Vector3 Vector3::UP = Vector3(0,1,0);
const Vector3 Vector3::RIGHT = Vector3(1,0,0);
const Vector3 Vector3::OUT_OF_SCREEN = Vector3(0,0,1);
const Vector3 Vector3::DOWN = Vector3(0,-1,0);
const Vector3 Vector3::LEFT = Vector3(-1,0,0);
const Vector3 Vector3::INTO_SCREEN = Vector3(0,0,-1);
const Vector3 Vector3::X = Vector3(1,0,0);
const Vector3 Vector3::Y = Vector3(0,1,0);
const Vector3 Vector3::Z = Vector3(0,0,1);
}; // end of namespace