Class: Doom::Render::WorldMesh::Triangle

Inherits:
Struct
  • Object
show all
Defined in:
lib/doom/render/world_mesh.rb

Instance Attribute Summary collapse

Instance Attribute Details

#lightObject

Returns the value of attribute light

Returns:

  • the current value of light



8
9
10
# File 'lib/doom/render/world_mesh.rb', line 8

def light
  @light
end

#maskedObject

Returns the value of attribute masked

Returns:

  • the current value of masked



8
9
10
# File 'lib/doom/render/world_mesh.rb', line 8

def masked
  @masked
end

#materialObject

Returns the value of attribute material

Returns:

  • the current value of material



8
9
10
# File 'lib/doom/render/world_mesh.rb', line 8

def material
  @material
end

#normalObject

Returns the value of attribute normal

Returns:

  • the current value of normal



8
9
10
# File 'lib/doom/render/world_mesh.rb', line 8

def normal
  @normal
end

#uvsObject

Returns the value of attribute uvs

Returns:

  • the current value of uvs



8
9
10
# File 'lib/doom/render/world_mesh.rb', line 8

def uvs
  @uvs
end

#verticesObject

Returns the value of attribute vertices

Returns:

  • the current value of vertices



8
9
10
# File 'lib/doom/render/world_mesh.rb', line 8

def vertices
  @vertices
end