Method: CGLM::Plane#initialize

Defined in:
lib/cglm/plane.rb

#initialize(normal, distance) ⇒ Plane

Returns a new Vec4 representing a plane with the given normal (a Vec3) and distance (a number).



5
6
7
# File 'lib/cglm/plane.rb', line 5

def initialize(normal, distance)
  super [*normal, distance]
end