Method: CGLM::Vec3#==

Defined in:
lib/cglm/vec3.rb

#==(other) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/cglm/vec3.rb', line 11

def ==(other)
  case other
  when VectorType then equals_vec3(other)
  when Numeric    then equals_scalar(other)
  else false
  end
end