Class: Carbuncle::Vector4
  
  
  
Overview
  
    
Represents a point in fourth dimensional space.
   
 
  
  Constant Summary
  
  
  Carbuncle::Vectorizable::CLASS
  
  
  Constants included
     from Enumerable
  Enumerable::NONE
  Instance Attribute Summary collapse
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  vectorize_properties
  
  
  
  
  
  
  
  
  
  #%, #*, #**, #+, #-, #-@, #/, #<<, #>>, #[], #[]=, #each, #length, #to_s
  
  
  
  
  
  
  
  
  Methods included from Enumerable
  __update_hash, #all?, #any?, #chain, #collect, #count, #cycle, #detect, #drop, #drop_while, #each_cons, #each_slice, #each_with_index, #each_with_object, #entries, #filter_map, #find_all, #find_index, #first, #flat_map, #grep, #group_by, #hash, #include?, #inject, #lazy, #max, #max_by, #min, #min_by, #minmax, #minmax_by, #none?, #one?, #partition, #reject, #reverse_each, #sort, #sort_by, #sum, #take, #take_while, #tally, #to_h, #uniq, #zip
  
    Instance Attribute Details
    
      
      
      
  
  
    
The w value of the vector.
   
 
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
The x value of the vector.
   
 
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
The y value of the vector.
   
 
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
The z value of the vector.
   
 
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
      
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
   
  
    Instance Method Details
    
      
  
  
    
      
122
123
124 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 122
def inspect
  "Vector4(#{x}, #{y}, #{z}, #{w})"
end
     | 
  
 
    
      
  
  
    
      
126
127
128 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 126
def size
  4
end 
     | 
  
 
    
      
  
  
    
      
130
131
132 
     | 
    
      # File 'gems/carbuncle-math/mrblib/vector4.rb', line 130
def to_a
  [x, y, z, w]
end 
     |