Class: Bayonetta::CLWFile::FVector
- Inherits:
- 
      LibBin::Structure
      
        - Object
- LibBin::Structure
- Bayonetta::CLWFile::FVector
 
- Defined in:
- lib/bayonetta/clw.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_bxm_vector(v) ⇒ Object
| 15 16 17 18 19 | # File 'lib/bayonetta/clw.rb', line 15 def self.from_bxm_vector(v) nv = self::new nv.from_bxm_vector(v) nv end | 
Instance Method Details
#from_bxm_vector(v) ⇒ Object
| 10 11 12 13 | # File 'lib/bayonetta/clw.rb', line 10 def from_bxm_vector(v) @x, @y, @z = v.split(" ").collect(&:to_f) self end |