Method: Ray::GL::Vertex#pretty_print
- Defined in:
- lib/ray/gl/vertex.rb
#pretty_print(q) ⇒ Object
175 176 177 178 179 180 181 182 |
# File 'lib/ray/gl/vertex.rb', line 175 def pretty_print(q) attr = [] self.class.layout.each do |key, _, _, per_instance| attr << key unless per_instance end pretty_print_attributes q, attr end |