Class: Ogre::Vector3
- Inherits:
-
Object
- Object
- Ogre::Vector3
- Defined in:
- lib/constants.rb
Class Method Summary collapse
- .NEGATIVE_UNIT_X ⇒ Object
- .NEGATIVE_UNIT_Y ⇒ Object
- .NEGATIVE_UNIT_Z ⇒ Object
- .UNIT_SCALE ⇒ Object
- .UNIT_X ⇒ Object
- .UNIT_Y ⇒ Object
- .UNIT_Z ⇒ Object
- .ZERO ⇒ Object
Class Method Details
.NEGATIVE_UNIT_X ⇒ Object
19 20 21 |
# File 'lib/constants.rb', line 19 def self.NEGATIVE_UNIT_X Vector3.new(-1, 0, 0) end |
.NEGATIVE_UNIT_Y ⇒ Object
23 24 25 |
# File 'lib/constants.rb', line 23 def self.NEGATIVE_UNIT_Y Vector3.new(0, -1, 0) end |
.NEGATIVE_UNIT_Z ⇒ Object
27 28 29 |
# File 'lib/constants.rb', line 27 def self.NEGATIVE_UNIT_Z Vector3.new(0, 0, -1) end |
.UNIT_SCALE ⇒ Object
31 32 33 |
# File 'lib/constants.rb', line 31 def self.UNIT_SCALE Vector3.new(1, 1, 1) end |
.UNIT_X ⇒ Object
7 8 9 |
# File 'lib/constants.rb', line 7 def self.UNIT_X Vector3.new(1, 0, 0) end |
.UNIT_Y ⇒ Object
11 12 13 |
# File 'lib/constants.rb', line 11 def self.UNIT_Y Vector3.new(0, 1, 0) end |
.UNIT_Z ⇒ Object
15 16 17 |
# File 'lib/constants.rb', line 15 def self.UNIT_Z Vector3.new(0, 0, 1) end |
.ZERO ⇒ Object
3 4 5 |
# File 'lib/constants.rb', line 3 def self.ZERO Vector3.new(0, 0, 0) end |