Sha256: ac3f7ca8dd80bed85789be4bc586133861d99b48c459fd15907ef274b2bd2ac4

Contents?: true

Size: 1.21 KB

Versions: 7

Compression:

Stored size: 1.21 KB

Contents

module Ogre

	class SubMesh
		alias_method :use_shared_vertices?, :useSharedVertices
		alias_method :use_shared_vertices=, :useSharedVertices=

		alias_method :vertex_data, :vertexData	
		alias_method :vertex_data=, :vertexData=

		alias_method :index_data, :indexData	
		alias_method :index_data=, :indexData=

		# SubMesh is a friend of Mesh, not a subclass...
		#alias_method :shared_vertex_data, :sharedVertexData
		#alias_method :shared_vertex_data=, :sharedVertexData=
	end

	class VertexData
		alias_method :vertex_declaration, :vertexDeclaration
		alias_method :vertex_declaration=, :vertexDeclaration=

		alias_method :vertex_buffer_binding, :vertexBufferBinding
		alias_method :vertex_buffer_binding=, :vertexBufferBinding=

		alias_method :vertex_start, :vertexStart
		alias_method :vertex_start=, :vertexStart=

		alias_method :vertex_count, :vertexCount
		alias_method :vertex_count=, :vertexCount=
	end

	class IndexData
		alias_method :index_buffer, :indexBuffer
		alias_method :index_buffer=, :indexBuffer=

		alias_method :index_start, :indexStart
		alias_method :index_start=, :indexStart=

		alias_method :index_count, :indexCount
		alias_method :index_count=, :indexCount=
	end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ogre.rb-0.2-i686-linux lib/method_fixes.rb
ogre.rb-0.2-i386-mswin32 lib/method_fixes.rb
ogre.rb-0.1-i686-linux lib/method_fixes.rb
ogre.rb-0.1-i386-mswin32 lib/method_fixes.rb
ogre.rb-0.2-x86_64-linux lib/method_fixes.rb
shattered_ogrerb-0.5.0.2 vendor/ogrerb/lib/method_fixes.rb
shattered_ogrerb-0.5.1 vendor/ogrerb/lib/method_fixes.rb