Class: Ogre::Vector3

Inherits:
Object
  • Object
show all
Defined in:
lib/constants.rb

Class Method Summary collapse

Class Method Details

.NEGATIVE_UNIT_XObject



19
20
21
# File 'lib/constants.rb', line 19

def self.NEGATIVE_UNIT_X
	Vector3.new(-1, 0, 0)
end

.NEGATIVE_UNIT_YObject



23
24
25
# File 'lib/constants.rb', line 23

def self.NEGATIVE_UNIT_Y
	Vector3.new(0, -1, 0)
end

.NEGATIVE_UNIT_ZObject



27
28
29
# File 'lib/constants.rb', line 27

def self.NEGATIVE_UNIT_Z
	Vector3.new(0, 0, -1)
end

.UNIT_SCALEObject



31
32
33
# File 'lib/constants.rb', line 31

def self.UNIT_SCALE
	Vector3.new(1, 1, 1)
end

.UNIT_XObject



7
8
9
# File 'lib/constants.rb', line 7

def self.UNIT_X
	Vector3.new(1, 0, 0)
end

.UNIT_YObject



11
12
13
# File 'lib/constants.rb', line 11

def self.UNIT_Y
	Vector3.new(0, 1, 0)
end

.UNIT_ZObject



15
16
17
# File 'lib/constants.rb', line 15

def self.UNIT_Z
	Vector3.new(0, 0, 1)
end

.ZEROObject



3
4
5
# File 'lib/constants.rb', line 3

def self.ZERO
	Vector3.new(0, 0, 0)
end