Class: Fabrique::Test::Fixtures::OpenGL::Mesh

Inherits:
Object
  • Object
show all
Defined in:
lib/fabrique/test/fixtures/opengl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vectors = []) ⇒ Mesh

Returns a new instance of Mesh.



25
26
27
# File 'lib/fabrique/test/fixtures/opengl.rb', line 25

def initialize(vectors = [])
  @vectors = vectors
end

Instance Attribute Details

#vectorsObject (readonly)

Returns the value of attribute vectors.



23
24
25
# File 'lib/fabrique/test/fixtures/opengl.rb', line 23

def vectors
  @vectors
end