Class: Quake::Bsp::Surface

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

Overview

Pre-computed surface data for rendering

Instance Attribute Summary collapse

Instance Attribute Details

#texcoordsObject (readonly)

Returns the value of attribute texcoords

Returns:

  • (Object)

    the current value of texcoords



21
22
23
# File 'lib/quake/bsp/types.rb', line 21

def texcoords
  @texcoords
end

#texinfo_indexObject (readonly)

Returns the value of attribute texinfo_index

Returns:

  • (Object)

    the current value of texinfo_index



21
22
23
# File 'lib/quake/bsp/types.rb', line 21

def texinfo_index
  @texinfo_index
end

#verticesObject (readonly)

Returns the value of attribute vertices

Returns:

  • (Object)

    the current value of vertices



21
22
23
# File 'lib/quake/bsp/types.rb', line 21

def vertices
  @vertices
end