Class: Quake::Mdl::Triangle

Inherits:
Data
  • Object
show all
Defined in:
lib/quake/mdl/types.rb

Overview

Triangle: 3 vertex indices + front-facing flag

Instance Attribute Summary collapse

Instance Attribute Details

#faces_frontObject (readonly)

Returns the value of attribute faces_front

Returns:

  • (Object)

    the current value of faces_front



15
16
17
# File 'lib/quake/mdl/types.rb', line 15

def faces_front
  @faces_front
end

#vertex_indicesObject (readonly)

Returns the value of attribute vertex_indices

Returns:

  • (Object)

    the current value of vertex_indices



15
16
17
# File 'lib/quake/mdl/types.rb', line 15

def vertex_indices
  @vertex_indices
end