shattered_ogrerb 0.5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shattered_ogrerb.rb +17 -0
- data/lib/shattered_ogrerb/base.rb +28 -0
- data/lib/shattered_ogrerb/camera.rb +6 -0
- data/lib/shattered_ogrerb/key_manager.rb +54 -0
- data/lib/shattered_ogrerb/light.rb +5 -0
- data/lib/shattered_ogrerb/mesh_instance.rb +92 -0
- data/lib/shattered_ogrerb/rmaterial.rb +86 -0
- data/lib/shattered_ogrerb/vector.rb +211 -0
- data/vendor/Ogre/OIS.dll +0 -0
- data/vendor/Ogre/OgreGUIRenderer.dll +0 -0
- data/vendor/Ogre/OgreMain.dll +0 -0
- data/vendor/Ogre/Plugin_BSPSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_CgProgramManager.dll +0 -0
- data/vendor/Ogre/Plugin_OctreeSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_ParticleFX.dll +0 -0
- data/vendor/Ogre/RenderSystem_Direct3D9.dll +0 -0
- data/vendor/Ogre/RenderSystem_GL.dll +0 -0
- data/vendor/Ogre/cg.dll +0 -0
- data/vendor/Ogre/plugins.cfg +9 -0
- data/vendor/ogrerb/MIT_LICENCE +19 -0
- data/vendor/ogrerb/README +79 -0
- data/vendor/ogrerb/Rakefile +220 -0
- data/vendor/ogrerb/build/navi/extconf.rb +53 -0
- data/vendor/ogrerb/build/ogre/extconf.rb +50 -0
- data/vendor/ogrerb/build/ois/extconf.rb +48 -0
- data/vendor/ogrerb/doc_src/ogre.rb +152 -0
- data/vendor/ogrerb/doc_src/ois.rb +67 -0
- data/vendor/ogrerb/lib/constants.rb +35 -0
- data/vendor/ogrerb/lib/ogre.dll +0 -0
- data/vendor/ogrerb/lib/ruby_ois.dll +0 -0
- data/vendor/ogrerb/navi/Navi.i +5 -0
- data/vendor/ogrerb/navi/NaviData.i +18 -0
- data/vendor/ogrerb/navi/NaviManager.i +5 -0
- data/vendor/ogrerb/navi/NaviProxies.i +7 -0
- data/vendor/ogrerb/navi/lib/Navi.lib +0 -0
- data/vendor/ogrerb/navi/lib/Navi_d.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib_d.lib +0 -0
- data/vendor/ogrerb/navi/navi_rb.i +53 -0
- data/vendor/ogrerb/navi/std_multimap.i +581 -0
- data/vendor/ogrerb/ogre.rb +23 -0
- data/vendor/ogrerb/ogre/Application.i +59 -0
- data/vendor/ogrerb/ogre/ApplicationFrameListener.i +67 -0
- data/vendor/ogrerb/ogre/ExampleApplication.i +7 -0
- data/vendor/ogrerb/ogre/ExampleFrameListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreAlignedAllocator.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimable.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimation.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimationState.i +9 -0
- data/vendor/ogrerb/ogre/OgreAnimationTrack.i +5 -0
- data/vendor/ogrerb/ogre/OgreAny.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchive.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreAutoParamDataSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreAxisAlignedBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboard.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardChain.i +11 -0
- data/vendor/ogrerb/ogre/OgreBillboardParticleRenderer.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardSet.i +5 -0
- data/vendor/ogrerb/ogre/OgreBitwise.i +5 -0
- data/vendor/ogrerb/ogre/OgreBlendMode.i +5 -0
- data/vendor/ogrerb/ogre/OgreBone.i +5 -0
- data/vendor/ogrerb/ogre/OgreBorderPanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreCamera.i +5 -0
- data/vendor/ogrerb/ogre/OgreCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreColourValue.i +5 -0
- data/vendor/ogrerb/ogre/OgreCommon.i +33 -0
- data/vendor/ogrerb/ogre/OgreCompiler2Pass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTargetPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositor.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorChain.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfig.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigFile.i +13 -0
- data/vendor/ogrerb/ogre/OgreConfigOptionMap.i +5 -0
- data/vendor/ogrerb/ogre/OgreController.i +5 -0
- data/vendor/ogrerb/ogre/OgreControllerManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreConvexBody.i +5 -0
- data/vendor/ogrerb/ogre/OgreDDSCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreDataStream.i +9 -0
- data/vendor/ogrerb/ogre/OgreDefaultHardwareBufferManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLib.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLibManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreEdgeListBuilder.i +5 -0
- data/vendor/ogrerb/ogre/OgreEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreErrorDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreException.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFactoryObj.i +5 -0
- data/vendor/ogrerb/ogre/OgreFileSystem.i +5 -0
- data/vendor/ogrerb/ogre/OgreFont.i +5 -0
- data/vendor/ogrerb/ogre/OgreFontManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrameListener.i +12 -0
- data/vendor/ogrerb/ogre/OgreFreeImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrustum.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramUsage.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBuffer.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBufferManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareIndexBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareOcclusionQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwarePixelBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareVertexBuffer.i +10 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreImage.i +5 -0
- data/vendor/ogrerb/ogre/OgreImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreInstancedGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreIteratorWrappers.i +5 -0
- data/vendor/ogrerb/ogre/OgreKeyFrame.i +7 -0
- data/vendor/ogrerb/ogre/OgreLight.i +5 -0
- data/vendor/ogrerb/ogre/OgreLog.i +5 -0
- data/vendor/ogrerb/ogre/OgreLogManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreManualObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterial.i +9 -0
- data/vendor/ogrerb/ogre/OgreMaterialManager.i +22 -0
- data/vendor/ogrerb/ogre/OgreMaterialScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterialSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMath.i +48 -0
- data/vendor/ogrerb/ogre/OgreMatrix3.i +5 -0
- data/vendor/ogrerb/ogre/OgreMatrix4.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgreMeshFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializerImpl.i +5 -0
- data/vendor/ogrerb/ogre/OgreMovableObject.i +46 -0
- data/vendor/ogrerb/ogre/OgreMovablePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgreNoMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreNode.i +11 -0
- data/vendor/ogrerb/ogre/OgreNumerics.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlay.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayContainer.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayManager.i +9 -0
- data/vendor/ogrerb/ogre/OgrePanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticle.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffector.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffectorFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitter.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleIterator.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleSystem.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemRenderer.i +9 -0
- data/vendor/ogrerb/ogre/OgrePass.i +10 -0
- data/vendor/ogrerb/ogre/OgrePatchMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgrePatchSurface.i +5 -0
- data/vendor/ogrerb/ogre/OgrePixelFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlaneBoundedVolume.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlatform.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlugin.i +5 -0
- data/vendor/ogrerb/ogre/OgrePolygon.i +5 -0
- data/vendor/ogrerb/ogre/OgrePose.i +5 -0
- data/vendor/ogrerb/ogre/OgrePredefinedControllers.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrefabFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrerequisites.i +5 -0
- data/vendor/ogrerb/ogre/OgreProfiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreProgressiveMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreProxies.i +10 -0
- data/vendor/ogrerb/ogre/OgreQuaternion.i +5 -0
- data/vendor/ogrerb/ogre/OgreRadixSort.i +5 -0
- data/vendor/ogrerb/ogre/OgreRay.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle2D.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderOperation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueue.i +10 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueInvocation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueListener.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueSortingGrouping.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderSystem.i +12 -0
- data/vendor/ogrerb/ogre/OgreRenderSystemCapabilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTarget.i +27 -0
- data/vendor/ogrerb/ogre/OgreRenderTargetListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTexture.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderWindow.i +9 -0
- data/vendor/ogrerb/ogre/OgreRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreResource.i +68 -0
- data/vendor/ogrerb/ogre/OgreResourceBackgroundQueue.i +5 -0
- data/vendor/ogrerb/ogre/OgreResourceGroupManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreResourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreRibbonTrail.i +5 -0
- data/vendor/ogrerb/ogre/OgreRoot.i +9 -0
- data/vendor/ogrerb/ogre/OgreRotationalSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSceneManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreSceneManagerEnumerator.i +8 -0
- data/vendor/ogrerb/ogre/OgreSceneNode.i +9 -0
- data/vendor/ogrerb/ogre/OgreSceneQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreScriptLoader.i +5 -0
- data/vendor/ogrerb/ogre/OgreSearchOps.i +5 -0
- data/vendor/ogrerb/ogre/OgreSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetup.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupFocused.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupLiSPSM.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupPlaneOptimal.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCaster.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowTextureManager.i +7 -0
- data/vendor/ogrerb/ogre/OgreShadowVolumeExtrudeProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreSharedPtr.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSingleton.i +9 -0
- data/vendor/ogrerb/ogre/OgreSkeleton.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreSphere.i +5 -0
- data/vendor/ogrerb/ogre/OgreSpotShadowFadePng.i +5 -0
- data/vendor/ogrerb/ogre/OgreStableHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticFaceGroup.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreStdHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreString.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringConverter.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringInterface.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringVector.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreTagPoint.i +5 -0
- data/vendor/ogrerb/ogre/OgreTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreTextAreaOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreTexture.i +9 -0
- data/vendor/ogrerb/ogre/OgreTextureManager.i +12 -0
- data/vendor/ogrerb/ogre/OgreTextureUnitState.i +12 -0
- data/vendor/ogrerb/ogre/OgreTimer.i +6 -0
- data/vendor/ogrerb/ogre/OgreUTFString.i +5 -0
- data/vendor/ogrerb/ogre/OgreUnifiedHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreUserDefinedObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector2.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector3.i +30 -0
- data/vendor/ogrerb/ogre/OgreVector4.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexBoneAssignment.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexIndexData.i +5 -0
- data/vendor/ogrerb/ogre/OgreViewport.i +5 -0
- data/vendor/ogrerb/ogre/OgreWindowEventUtilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreWireBoundingBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreZip.i +5 -0
- data/vendor/ogrerb/ogre/ogre_rb.i +343 -0
- data/vendor/ogrerb/ogre/std_multimap.i +581 -0
- data/vendor/ogrerb/ois/OISProxies.i +9 -0
- data/vendor/ogrerb/ois/OISRenames.i +11 -0
- data/vendor/ogrerb/ois/ois.i +135 -0
- data/vendor/ogrerb/ois/std_multimap.i +581 -0
- data/vendor/ogrerb/platform.rb +23 -0
- data/vendor/ogrerb/samples/application.rb +146 -0
- data/vendor/ogrerb/samples/application_frame_listener.rb +302 -0
- data/vendor/ogrerb/samples/application_loading_bar.rb +115 -0
- data/vendor/ogrerb/samples/bsp.rb +74 -0
- data/vendor/ogrerb/samples/cg.dll +0 -0
- data/vendor/ogrerb/samples/js3250.dll +0 -0
- data/vendor/ogrerb/samples/lighting.rb +136 -0
- data/vendor/ogrerb/samples/media/materials/scripts/CloudySky.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Flare.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Knot.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/MorningSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ogre.material +119 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Razor.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ribbon.material +19 -0
- data/vendor/ogrerb/samples/media/materials/scripts/RustySteel.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/TextureEffects.material +15 -0
- data/vendor/ogrerb/samples/media/materials/scripts/dragon.material +42 -0
- data/vendor/ogrerb/samples/media/materials/scripts/smoke.material +18 -0
- data/vendor/ogrerb/samples/media/materials/textures/GreenSkin.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/MtlPlat2.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustedMetal.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustySteel.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/Water02.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/WeirdEye.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/cursor.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/dirt01.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/flare.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborder.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborderUp.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ribbonband.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smoke.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smokecolors.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spacesky.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spheremap.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/texmap2.jpg +0 -0
- data/vendor/ogrerb/samples/media/models/knot.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/ogrehead.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/razor.mesh +0 -0
- data/vendor/ogrerb/samples/media/packs/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.pk3 +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.txt +99 -0
- data/vendor/ogrerb/samples/media/packs/cubemap.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/cubemapsJS.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/dragon.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/skybox.zip +0 -0
- data/vendor/ogrerb/samples/media/particles/smoke.particle +43 -0
- data/vendor/ogrerb/samples/navi/Media/NaviDemo.material +60 -0
- data/vendor/ogrerb/samples/navi/Media/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/navi/Media/cerulean.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/Media/grass.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/knot.mesh +0 -0
- data/vendor/ogrerb/samples/navi/Media/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/Navi.js +136 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/buttonBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/controls.html +303 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/knobBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.html +32 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/pageBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/sliderBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/test.html +5 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.html +36 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.png +0 -0
- data/vendor/ogrerb/samples/navi/chrome/chromelist.txt +597 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.manifest +4 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.manifest +2 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.manifest +9 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.manifest +6 -0
- data/vendor/ogrerb/samples/navi/components/FeedProcessor.js +1825 -0
- data/vendor/ogrerb/samples/navi/components/alerts.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appshell.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appstartup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/auth.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autocomplete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/caps.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chardet.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chrome.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandhandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandlines.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/composer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/compreg.dat +1474 -0
- data/vendor/ogrerb/samples/navi/components/content_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_htmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xslt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xtf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/directory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/docshell_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_canvas.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_css.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_events.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_loadsave.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_range.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_sidebar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_stylesheets.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_svg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_traversal.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_views.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xbl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xpath.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/downloads.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/editor.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/embed_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/extensions.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/exthandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/fastfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/feeds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/find.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gfx.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gksvgrenderer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/history.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/htmlparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/imglib2.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/inspector.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intlcmpt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole-clhandler.js +170 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsdservice.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_printing.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul_tree.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/locale.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/lwbrk.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mimetype.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozbrwsr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_about.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cache.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cookie.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_data.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_dns.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_file.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_ftp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_http.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_res.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_socket.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_strconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_viewsource.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/nsCloseAllWindows.js +143 -0
- data/vendor/ogrerb/samples/navi/components/nsDefaultCLH.js +231 -0
- data/vendor/ogrerb/samples/navi/components/nsDictionary.js +148 -0
- data/vendor/ogrerb/samples/navi/components/nsExtensionManager.js +8497 -0
- data/vendor/ogrerb/samples/navi/components/nsHelperAppDlg.js +990 -0
- data/vendor/ogrerb/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
- data/vendor/ogrerb/samples/navi/components/nsKillAll.js +200 -0
- data/vendor/ogrerb/samples/navi/components/nsPostUpdateWin.js +711 -0
- data/vendor/ogrerb/samples/navi/components/nsProgressDialog.js +949 -0
- data/vendor/ogrerb/samples/navi/components/nsProxyAutoConfig.js +396 -0
- data/vendor/ogrerb/samples/navi/components/nsResetPref.js +175 -0
- data/vendor/ogrerb/samples/navi/components/nsURLFormatter.js +179 -0
- data/vendor/ogrerb/samples/navi/components/nsUpdateService.js +3074 -0
- data/vendor/ogrerb/samples/navi/components/nsXULAppInstall.js +301 -0
- data/vendor/ogrerb/samples/navi/components/nsXmlRpcClient.js +1038 -0
- data/vendor/ogrerb/samples/navi/components/oji.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/passwordmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipboot.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipnss.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/plugin.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pref.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/prefetch.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/profile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/progressDlg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/proxyObject.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/rdf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/satchel.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/saxparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/shistory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/toolkitprofile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/transformiix.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/txmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/txtsvc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/unicharutil.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/universalchardet.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/update.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uriloader.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/urlformatter.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webBrowser_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webbrowserpersist.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webshell_idls.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/widget.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowwatcher.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xml-rpc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xmlextras.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_components.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_ds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_io.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_obsolete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_thread.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_xpti.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpconnect.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpinstall.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpti.dat +1424 -0
- data/vendor/ogrerb/samples/navi/components/xulapp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulapp_setup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xuldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulrunner.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xultmpl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulutil.dll +0 -0
- data/vendor/ogrerb/samples/navi/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/greprefs/all.js +1344 -0
- data/vendor/ogrerb/samples/navi/greprefs/security-prefs.js +69 -0
- data/vendor/ogrerb/samples/navi/greprefs/xpinstall.js +2 -0
- data/vendor/ogrerb/samples/navi/navi_demo.rb +207 -0
- data/vendor/ogrerb/samples/navi/plugins.cfg +10 -0
- data/vendor/ogrerb/samples/navi/plugins/NPSWF32.dll +0 -0
- data/vendor/ogrerb/samples/navi/plugins/flashplayer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/plugins/npnul32.dll +0 -0
- data/vendor/ogrerb/samples/navi/res/EditorOverride.css +359 -0
- data/vendor/ogrerb/samples/navi/res/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/arrow.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/arrowd.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/bloatcycle.html +40 -0
- data/vendor/ogrerb/samples/navi/res/broken-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/charsetData.properties +199 -0
- data/vendor/ogrerb/samples/navi/res/charsetalias.properties +517 -0
- data/vendor/ogrerb/samples/navi/res/cmessage.txt +1 -0
- data/vendor/ogrerb/samples/navi/res/dtd/xhtml11.dtd +300 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Latin1.properties +146 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Special.properties +69 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Symbols.properties +164 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/transliterate.properties +2367 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontEncoding.properties +127 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontNameMap.properties +134 -0
- data/vendor/ogrerb/samples/navi/res/forms.css +531 -0
- data/vendor/ogrerb/samples/navi/res/grabber.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/hiddenWindow.html +1 -0
- data/vendor/ogrerb/samples/navi/res/html.css +478 -0
- data/vendor/ogrerb/samples/navi/res/html/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-audio.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-binary.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-find.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-menu.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-movie.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-sound.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-telnet.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-text.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-unknown.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/langGroups.properties +236 -0
- data/vendor/ogrerb/samples/navi/res/language.properties +259 -0
- data/vendor/ogrerb/samples/navi/res/loading-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/quirk.css +282 -0
- data/vendor/ogrerb/samples/navi/res/samples/Anieyes.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/aform.css +69 -0
- data/vendor/ogrerb/samples/navi/res/samples/beeptest.html +18 -0
- data/vendor/ogrerb/samples/navi/res/samples/bform.css +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/bg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/cform.css +40 -0
- data/vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul +47 -0
- data/vendor/ogrerb/samples/navi/res/samples/demoform.css +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/find.html +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/gear1.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/image_props.html +58 -0
- data/vendor/ogrerb/samples/navi/res/samples/mozform.css +256 -0
- data/vendor/ogrerb/samples/navi/res/samples/printsetup.html +175 -0
- data/vendor/ogrerb/samples/navi/res/samples/raptor.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/rock_gra.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest1.xul +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest2.xul +19 -0
- data/vendor/ogrerb/samples/navi/res/samples/sliderTest1.xul +14 -0
- data/vendor/ogrerb/samples/navi/res/samples/soundtest.html +20 -0
- data/vendor/ogrerb/samples/navi/res/samples/test.wav +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/test0.html +220 -0
- data/vendor/ogrerb/samples/navi/res/samples/test1.html +84 -0
- data/vendor/ogrerb/samples/navi/res/samples/test10.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test11.html +42 -0
- data/vendor/ogrerb/samples/navi/res/samples/test12.html +79 -0
- data/vendor/ogrerb/samples/navi/res/samples/test13.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test14.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test15.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test16.html +124 -0
- data/vendor/ogrerb/samples/navi/res/samples/test2.html +41 -0
- data/vendor/ogrerb/samples/navi/res/samples/test3.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test4.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test5.html +199 -0
- data/vendor/ogrerb/samples/navi/res/samples/test6.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test7.html +11 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8-1.html +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8.html +662 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8dom.html +64 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8sca.html +308 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8siz.html +224 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8tab.html +9 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9.html +12 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9a.html +39 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9b.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_ed.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_form.html +34 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_gfx.html +75 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_lbox.html +100 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_pr.html +87 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_weight.html +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/toolbarTest1.xul +51 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.css +62 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.xul +110 -0
- data/vendor/ogrerb/samples/navi/res/samples/xulTest.css +130 -0
- data/vendor/ogrerb/samples/navi/res/svg.css +64 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anim.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims00.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims01.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims02.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims03.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims04.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims05.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims06.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims07.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims08.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims09.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims10.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims11.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims12.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims13.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims14.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims15.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims16.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims17.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims18.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims19.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims20.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims21.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims22.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims23.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims24.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims25.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims26.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims27.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims28.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims29.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/ua.css +235 -0
- data/vendor/ogrerb/samples/navi/res/viewer.properties +1 -0
- data/vendor/ogrerb/samples/navi/res/viewsource.css +118 -0
- data/vendor/ogrerb/samples/navi/res/wincharset.properties +55 -0
- data/vendor/ogrerb/samples/navi/resources.cfg +14 -0
- data/vendor/ogrerb/samples/navi/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/plugins.cfg +11 -0
- data/vendor/ogrerb/samples/quake3settings.cfg +2 -0
- data/vendor/ogrerb/samples/render_to_texture.rb +159 -0
- data/vendor/ogrerb/samples/resources.cfg +14 -0
- data/vendor/ogrerb/samples/sky_box.rb +105 -0
- data/vendor/ogrerb/samples/sky_dome.rb +84 -0
- data/vendor/ogrerb/samples/sky_plane.rb +24 -0
- data/vendor/ogrerb/samples/smoke.rb +21 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleApplication.h +266 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleFrameListener.h +408 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleLoadingBar.h +182 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreConfigDialogImp.h +76 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreErrorDialogImp.h +53 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreTimerImp.h +63 -0
- data/vendor/ogrerb/src_headers/OGRE/Ogre.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAlignedAllocator.h +181 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimable.h +299 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimation.h +406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationState.h +229 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationTrack.h +547 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAny.h +405 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchive.h +191 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveFactory.h +62 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveManager.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAutoParamDataSource.h +225 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAxisAlignedBox.h +790 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboard.h +217 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardChain.h +343 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardParticleRenderer.h +250 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardSet.h +841 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBitwise.h +323 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBlendMode.h +245 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBone.h +142 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBorderPanelOverlayElement.h +344 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCamera.h +566 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCodec.h +133 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreColourValue.h +319 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCommon.h +425 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompiler2Pass.h +667 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionPass.h +271 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTargetPass.h +153 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTechnique.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositor.h +179 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorChain.h +208 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorInstance.h +262 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorManager.h +170 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorScriptCompiler.h +186 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorSerializer.h +59 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfig.h +120 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigFile.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigOptionMap.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreController.h +227 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreControllerManager.h +287 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConvexBody.h +252 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDDSCodec.h +90 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDataStream.h +442 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDefaultHardwareBufferManager.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLib.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLibManager.h +110 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEdgeListBuilder.h +261 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEntity.h +771 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreErrorDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreException.h +341 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSource.h +184 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSourceManager.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFactoryObj.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFileSystem.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFont.h +432 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFontManager.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrameListener.h +106 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFreeImageCodec.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrustum.h +590 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgram.h +1632 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramManager.h +190 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramUsage.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBuffer.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBufferManager.h +399 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareIndexBuffer.h +78 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareOcclusionQuery.h +125 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwarePixelBuffer.h +198 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareVertexBuffer.h +541 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgram.h +185 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgramManager.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImage.h +428 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImageCodec.h +82 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreInstancedGeometry.h +833 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreIteratorWrappers.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreKeyFrame.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLight.h +433 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLog.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLogManager.h +163 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreManualObject.h +513 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterial.h +680 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialManager.h +242 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialScriptCompiler.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialSerializer.h +278 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMath.h +606 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix3.h +306 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix4.h +603 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryMacros.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryManager.h +422 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMesh.h +875 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshFileFormat.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshManager.h +431 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializer.h +99 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializerImpl.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovableObject.h +530 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovablePlane.h +87 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNoMemoryMacros.h +42 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNode.h +727 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNumerics.h +55 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlay.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayContainer.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElement.h +490 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementCommands.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementFactory.h +121 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayManager.h +235 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePanelOverlayElement.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticle.h +147 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffector.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffectorFactory.h +74 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitter.h +506 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterCommands.h +200 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterFactory.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleIterator.h +61 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystem.h +878 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemManager.h +389 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemRenderer.h +124 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePass.h +1321 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchMesh.h +152 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchSurface.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePixelFormat.h +473 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlane.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlaneBoundedVolume.h +128 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlatform.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlugin.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePolygon.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePose.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePredefinedControllers.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrefabFactory.h +66 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrerequisites.h +390 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProfiler.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProgressiveMesh.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreQuaternion.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRadixSort.h +322 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRay.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle2D.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderOperation.h +84 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueue.h +256 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueInvocation.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueListener.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueSortingGrouping.h +653 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystem.h +1255 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystemCapabilities.h +380 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTarget.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTargetListener.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTexture.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderWindow.h +204 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderable.h +296 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResource.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceBackgroundQueue.h +453 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceGroupManager.h +858 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceManager.h +446 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRibbonTrail.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRoot.h +844 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRotationalSpline.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManager.h +2871 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManagerEnumerator.h +221 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneNode.h +448 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneQuery.h +557 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreScriptLoader.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSearchOps.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSerializer.h +113 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetup.h +100 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupFocused.h +281 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupLiSPSM.h +226 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupPlaneOptimal.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCaster.h +215 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowTextureManager.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowVolumeExtrudeProgram.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSharedPtr.h +244 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleRenderable.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleSpline.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSingleton.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeleton.h +519 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonFileFormat.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonInstance.h +156 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonManager.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonSerializer.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSphere.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSpotShadowFadePng.h +648 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStableHeaders.h +80 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticFaceGroup.h +134 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticGeometry.h +748 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStdHeaders.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreString.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringConverter.h +246 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringInterface.h +332 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringVector.h +45 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubEntity.h +230 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubMesh.h +267 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTagPoint.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTechnique.h +488 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextAreaOverlayElement.h +247 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTexture.h +414 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureManager.h +398 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureUnitState.h +1169 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTimer.h +44 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUTFString.h +2406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUnifiedHighLevelGpuProgram.h +168 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUserDefinedObject.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector2.h +532 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector3.h +768 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector4.h +396 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexBoneAssignment.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexIndexData.h +286 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreViewport.h +331 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWindowEventUtilities.h +151 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWireBoundingBox.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreZip.h +136 -0
- data/vendor/ogrerb/src_headers/OGRE/asm_math.h +367 -0
- data/vendor/ogrerb/src_headers/OIS/OIS.h +38 -0
- data/vendor/ogrerb/src_headers/OIS/OISConfig.h +49 -0
- data/vendor/ogrerb/src_headers/OIS/OISEffect.h +254 -0
- data/vendor/ogrerb/src_headers/OIS/OISEvents.h +43 -0
- data/vendor/ogrerb/src_headers/OIS/OISException.h +70 -0
- data/vendor/ogrerb/src_headers/OIS/OISForceFeedback.h +102 -0
- data/vendor/ogrerb/src_headers/OIS/OISInputManager.h +127 -0
- data/vendor/ogrerb/src_headers/OIS/OISInterface.h +47 -0
- data/vendor/ogrerb/src_headers/OIS/OISJoyStick.h +179 -0
- data/vendor/ogrerb/src_headers/OIS/OISKeyboard.h +310 -0
- data/vendor/ogrerb/src_headers/OIS/OISMouse.h +135 -0
- data/vendor/ogrerb/src_headers/OIS/OISObject.h +89 -0
- data/vendor/ogrerb/src_headers/OIS/OISPrereqs.h +170 -0
- data/vendor/ogrerb/src_headers/navi/Navi.h +121 -0
- data/vendor/ogrerb/src_headers/navi/NaviData.h +145 -0
- data/vendor/ogrerb/src_headers/navi/NaviEventListener.h +56 -0
- data/vendor/ogrerb/src_headers/navi/NaviManager.h +439 -0
- data/vendor/ogrerb/src_headers/navi/llmozlib.h +222 -0
- data/vendor/ogrerb/src_headers/wrappers/Application.h +61 -0
- data/vendor/ogrerb/src_headers/wrappers/ApplicationFrameListener.h +43 -0
- data/vendor/ogrerb/src_headers/wrappers/NaviProxies.h +15 -0
- data/vendor/ogrerb/src_headers/wrappers/OISProxies.h +58 -0
- data/vendor/ogrerb/src_headers/wrappers/OgreProxies.h +98 -0
- data/vendor/ogrerb/website/contact.html +43 -0
- data/vendor/ogrerb/website/docs.html +92 -0
- data/vendor/ogrerb/website/get.html +60 -0
- data/vendor/ogrerb/website/images/Thumbs.db +0 -0
- data/vendor/ogrerb/website/images/header.png +0 -0
- data/vendor/ogrerb/website/images/header.xcf +0 -0
- data/vendor/ogrerb/website/images/ogre3d.gif +0 -0
- data/vendor/ogrerb/website/images/redogrehead.png +0 -0
- data/vendor/ogrerb/website/images/ruby.png +0 -0
- data/vendor/ogrerb/website/images/sample.png +0 -0
- data/vendor/ogrerb/website/index.html +80 -0
- data/vendor/ogrerb/website/javascripts/prototype.js +3271 -0
- data/vendor/ogrerb/website/stylesheets/main.css +96 -0
- metadata +997 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef _HardwareOcclusionQuery__
|
30
|
+
#define _HardwareOcclusionQuery__
|
31
|
+
|
32
|
+
// Precompiler options
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
|
35
|
+
namespace Ogre {
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
/**
|
40
|
+
* This is a abstract class that that provides the interface for the query class for
|
41
|
+
* hardware occlusion.
|
42
|
+
*
|
43
|
+
* @author Lee Sandberg
|
44
|
+
* Updated on 13/8/2005 by Tuan Kuranes email: tuan.kuranes@free.fr
|
45
|
+
*/
|
46
|
+
class _OgreExport HardwareOcclusionQuery
|
47
|
+
{
|
48
|
+
//----------------------------------------------------------------------
|
49
|
+
// Public methods
|
50
|
+
//--
|
51
|
+
public:
|
52
|
+
/**
|
53
|
+
* Object public member functions
|
54
|
+
*/
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Default object constructor
|
58
|
+
*
|
59
|
+
*/
|
60
|
+
HardwareOcclusionQuery();
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Object destructor
|
64
|
+
*/
|
65
|
+
virtual ~HardwareOcclusionQuery();
|
66
|
+
|
67
|
+
/**
|
68
|
+
* Starts the hardware occlusion query
|
69
|
+
* @Remarks Simple usage: Create one or more OcclusionQuery object one per outstanding query or one per tested object
|
70
|
+
* OcclusionQuery* m_pOcclusionQuery;
|
71
|
+
* createOcclusionQuery( &m_pOcclusionQuery );
|
72
|
+
* In the rendering loop:
|
73
|
+
* Draw all occluders
|
74
|
+
* m_pOcclusionQuery->startOcclusionQuery();
|
75
|
+
* Draw the polygons to be tested
|
76
|
+
* m_pOcclusionQuery->endOcclusionQuery();
|
77
|
+
*
|
78
|
+
* Results must be pulled using:
|
79
|
+
* UINT m_uintNumberOfPixelsVisable;
|
80
|
+
* pullOcclusionQuery( &m_dwNumberOfPixelsVisable );
|
81
|
+
*
|
82
|
+
*/
|
83
|
+
virtual void beginOcclusionQuery() = 0;
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Ends the hardware occlusion test
|
87
|
+
*/
|
88
|
+
virtual void endOcclusionQuery() = 0;
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Pulls the hardware occlusion query.
|
92
|
+
* @note Waits until the query result is available; use isStillOutstanding
|
93
|
+
* if just want to test if the result is available.
|
94
|
+
* @retval NumOfFragments will get the resulting number of fragments.
|
95
|
+
* @return True if success or false if not.
|
96
|
+
*/
|
97
|
+
virtual bool pullOcclusionQuery(unsigned int* NumOfFragments) = 0;
|
98
|
+
|
99
|
+
/**
|
100
|
+
* Let's you get the last pixel count with out doing the hardware occlusion test
|
101
|
+
* @return The last fragment count from the last test.
|
102
|
+
* Remarks This function won't give you new values, just the old value.
|
103
|
+
*/
|
104
|
+
unsigned int getLastQuerysPixelcount() const { return mPixelCount; }
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Lets you know when query is done, or still be processed by the Hardware
|
108
|
+
* @return true if query isn't finished.
|
109
|
+
*/
|
110
|
+
virtual bool isStillOutstanding(void) = 0;
|
111
|
+
|
112
|
+
|
113
|
+
//----------------------------------------------------------------------
|
114
|
+
// protected members
|
115
|
+
//--
|
116
|
+
protected :
|
117
|
+
// numbers of visible pixels determined by last query
|
118
|
+
unsigned int mPixelCount;
|
119
|
+
// is query hasn't yet returned a result.
|
120
|
+
bool mIsQueryResultStillOutstanding;
|
121
|
+
};
|
122
|
+
|
123
|
+
}
|
124
|
+
#endif
|
125
|
+
|
@@ -0,0 +1,198 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef __HardwarePixelBuffer__
|
30
|
+
#define __HardwarePixelBuffer__
|
31
|
+
|
32
|
+
// Precompiler options
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
#include "OgreHardwareBuffer.h"
|
35
|
+
#include "OgreSharedPtr.h"
|
36
|
+
#include "OgrePixelFormat.h"
|
37
|
+
#include "OgreImage.h"
|
38
|
+
|
39
|
+
namespace Ogre {
|
40
|
+
|
41
|
+
/** Specialisation of HardwareBuffer for a pixel buffer. The
|
42
|
+
HardwarePixelbuffer abstracts an 1D, 2D or 3D quantity of pixels
|
43
|
+
stored by the rendering API. The buffer can be located on the card
|
44
|
+
or in main memory depending on its usage. One mipmap level of a
|
45
|
+
texture is an example of a HardwarePixelBuffer.
|
46
|
+
*/
|
47
|
+
class _OgreExport HardwarePixelBuffer : public HardwareBuffer
|
48
|
+
{
|
49
|
+
protected:
|
50
|
+
// Extents
|
51
|
+
size_t mWidth, mHeight, mDepth;
|
52
|
+
// Pitches (offsets between rows and slices)
|
53
|
+
size_t mRowPitch, mSlicePitch;
|
54
|
+
// Internal format
|
55
|
+
PixelFormat mFormat;
|
56
|
+
// Currently locked region
|
57
|
+
PixelBox mCurrentLock;
|
58
|
+
|
59
|
+
/// Internal implementation of lock(), must be overridden in subclasses
|
60
|
+
virtual PixelBox lockImpl(const Image::Box lockBox, LockOptions options) = 0;
|
61
|
+
|
62
|
+
/// Internal implementation of lock(), do not OVERRIDE or CALL this
|
63
|
+
/// for HardwarePixelBuffer implementations, but override the previous method
|
64
|
+
virtual void* lockImpl(size_t offset, size_t length, LockOptions options);
|
65
|
+
|
66
|
+
/// Internal implementation of unlock(), must be overridden in subclasses
|
67
|
+
// virtual void unlockImpl(void) = 0;
|
68
|
+
|
69
|
+
/** Notify TextureBuffer of destruction of render target.
|
70
|
+
Called by RenderTexture when destroyed.
|
71
|
+
*/
|
72
|
+
virtual void _clearSliceRTT(size_t zoffset);
|
73
|
+
friend class RenderTexture;
|
74
|
+
public:
|
75
|
+
/// Should be called by HardwareBufferManager
|
76
|
+
HardwarePixelBuffer(size_t mWidth, size_t mHeight, size_t mDepth,
|
77
|
+
PixelFormat mFormat,
|
78
|
+
HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer);
|
79
|
+
~HardwarePixelBuffer();
|
80
|
+
|
81
|
+
/** make every lock method from HardwareBuffer available.
|
82
|
+
See http://www.research.att.com/~bs/bs_faq2.html#overloadderived
|
83
|
+
*/
|
84
|
+
using HardwareBuffer::lock;
|
85
|
+
|
86
|
+
/** Lock the buffer for (potentially) reading / writing.
|
87
|
+
@param lockBox Region of the buffer to lock
|
88
|
+
@param options Locking options
|
89
|
+
@returns PixelBox containing the locked region, the pitches and
|
90
|
+
the pixel format
|
91
|
+
*/
|
92
|
+
virtual const PixelBox& lock(const Image::Box& lockBox, LockOptions options);
|
93
|
+
/// @copydoc HardwareBuffer::lock
|
94
|
+
virtual void* lock(size_t offset, size_t length, LockOptions options);
|
95
|
+
|
96
|
+
/** Get the current locked region. This is the same value as returned
|
97
|
+
by lock(const Image::Box, LockOptions)
|
98
|
+
@returns PixelBox containing the locked region
|
99
|
+
*/
|
100
|
+
const PixelBox& getCurrentLock();
|
101
|
+
|
102
|
+
/// @copydoc HardwareBuffer::readData
|
103
|
+
virtual void readData(size_t offset, size_t length, void* pDest);
|
104
|
+
/// @copydoc HardwareBuffer::writeData
|
105
|
+
virtual void writeData(size_t offset, size_t length, const void* pSource,
|
106
|
+
bool discardWholeBuffer = false);
|
107
|
+
|
108
|
+
/** Copies a box from another PixelBuffer to a region of the
|
109
|
+
this PixelBuffer.
|
110
|
+
@param dst Source pixel buffer
|
111
|
+
@param srcBox Image::Box describing the source region in src
|
112
|
+
@param dstBox Image::Box describing the destination region in this buffer
|
113
|
+
@remarks The source and destination regions dimensions don't have to match, in which
|
114
|
+
case scaling is done. This scaling is generally done using a bilinear filter in hardware,
|
115
|
+
but it is faster to pass the source image in the right dimensions.
|
116
|
+
@note Only call this function when both buffers are unlocked.
|
117
|
+
*/
|
118
|
+
virtual void blit(const HardwarePixelBufferSharedPtr &src, const Image::Box &srcBox, const Image::Box &dstBox);
|
119
|
+
|
120
|
+
/** Convience function that blits the entire source pixel buffer to this buffer.
|
121
|
+
If source and destination dimensions don't match, scaling is done.
|
122
|
+
@param src PixelBox containing the source pixels and format in memory
|
123
|
+
@note Only call this function when the buffer is unlocked.
|
124
|
+
*/
|
125
|
+
void blit(const HardwarePixelBufferSharedPtr &src);
|
126
|
+
|
127
|
+
/** Copies a region from normal memory to a region of this pixelbuffer. The source
|
128
|
+
image can be in any pixel format supported by OGRE, and in any size.
|
129
|
+
@param src PixelBox containing the source pixels and format in memory
|
130
|
+
@param dstBox Image::Box describing the destination region in this buffer
|
131
|
+
@remarks The source and destination regions dimensions don't have to match, in which
|
132
|
+
case scaling is done. This scaling is generally done using a bilinear filter in hardware,
|
133
|
+
but it is faster to pass the source image in the right dimensions.
|
134
|
+
@note Only call this function when the buffer is unlocked.
|
135
|
+
*/
|
136
|
+
virtual void blitFromMemory(const PixelBox &src, const Image::Box &dstBox) = 0;
|
137
|
+
|
138
|
+
/** Convience function that blits a pixelbox from memory to the entire
|
139
|
+
buffer. The source image is scaled as needed.
|
140
|
+
@param src PixelBox containing the source pixels and format in memory
|
141
|
+
@note Only call this function when the buffer is unlocked.
|
142
|
+
*/
|
143
|
+
void blitFromMemory(const PixelBox &src)
|
144
|
+
{
|
145
|
+
blitFromMemory(src, Box(0,0,0,mWidth,mHeight,mDepth));
|
146
|
+
}
|
147
|
+
|
148
|
+
/** Copies a region of this pixelbuffer to normal memory.
|
149
|
+
@param srcBox Image::Box describing the source region of this buffer
|
150
|
+
@param dst PixelBox describing the destination pixels and format in memory
|
151
|
+
@remarks The source and destination regions don't have to match, in which
|
152
|
+
case scaling is done.
|
153
|
+
@note Only call this function when the buffer is unlocked.
|
154
|
+
*/
|
155
|
+
virtual void blitToMemory(const Image::Box &srcBox, const PixelBox &dst) = 0;
|
156
|
+
|
157
|
+
/** Convience function that blits this entire buffer to a pixelbox.
|
158
|
+
The image is scaled as needed.
|
159
|
+
@param src PixelBox containing the source pixels and format in memory
|
160
|
+
@note Only call this function when the buffer is unlocked.
|
161
|
+
*/
|
162
|
+
void blitToMemory(const PixelBox &dst)
|
163
|
+
{
|
164
|
+
blitToMemory(Box(0,0,0,mWidth,mHeight,mDepth), dst);
|
165
|
+
}
|
166
|
+
|
167
|
+
/** Get a render target for this PixelBuffer, or a slice of it. The texture this
|
168
|
+
was acquired from must have TU_RENDERTARGET set, otherwise it is possible to
|
169
|
+
render to it and this method will throw an ERR_RENDERSYSTEM exception.
|
170
|
+
@param slice Which slice
|
171
|
+
@returns A pointer to the render target. This pointer has the lifespan of this
|
172
|
+
PixelBuffer.
|
173
|
+
*/
|
174
|
+
virtual RenderTexture *getRenderTarget(size_t slice=0);
|
175
|
+
|
176
|
+
/// Gets the width of this buffer
|
177
|
+
size_t getWidth() const { return mWidth; }
|
178
|
+
/// Gets the height of this buffer
|
179
|
+
size_t getHeight() const { return mHeight; }
|
180
|
+
/// Gets the depth of this buffer
|
181
|
+
size_t getDepth() const { return mDepth; }
|
182
|
+
/// Gets the native pixel format of this buffer
|
183
|
+
PixelFormat getFormat() const { return mFormat; }
|
184
|
+
};
|
185
|
+
|
186
|
+
/** Shared pointer implementation used to share pixel buffers. */
|
187
|
+
class _OgreExport HardwarePixelBufferSharedPtr : public SharedPtr<HardwarePixelBuffer>
|
188
|
+
{
|
189
|
+
public:
|
190
|
+
HardwarePixelBufferSharedPtr() : SharedPtr<HardwarePixelBuffer>() {}
|
191
|
+
explicit HardwarePixelBufferSharedPtr(HardwarePixelBuffer* buf);
|
192
|
+
|
193
|
+
|
194
|
+
};
|
195
|
+
|
196
|
+
}
|
197
|
+
#endif
|
198
|
+
|
@@ -0,0 +1,541 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef __HardwareVertexBuffer__
|
30
|
+
#define __HardwareVertexBuffer__
|
31
|
+
|
32
|
+
// Precompiler options
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
#include "OgreHardwareBuffer.h"
|
35
|
+
#include "OgreSharedPtr.h"
|
36
|
+
#include "OgreColourValue.h"
|
37
|
+
|
38
|
+
namespace Ogre {
|
39
|
+
/** Specialisation of HardwareBuffer for a vertex buffer. */
|
40
|
+
class _OgreExport HardwareVertexBuffer : public HardwareBuffer
|
41
|
+
{
|
42
|
+
protected:
|
43
|
+
|
44
|
+
size_t mNumVertices;
|
45
|
+
size_t mVertexSize;
|
46
|
+
|
47
|
+
public:
|
48
|
+
/// Should be called by HardwareBufferManager
|
49
|
+
HardwareVertexBuffer(size_t vertexSize, size_t numVertices,
|
50
|
+
HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer);
|
51
|
+
~HardwareVertexBuffer();
|
52
|
+
/// Gets the size in bytes of a single vertex in this buffer
|
53
|
+
size_t getVertexSize(void) const { return mVertexSize; }
|
54
|
+
/// Get the number of vertices in this buffer
|
55
|
+
size_t getNumVertices(void) const { return mNumVertices; }
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
// NB subclasses should override lock, unlock, readData, writeData
|
60
|
+
|
61
|
+
};
|
62
|
+
|
63
|
+
/** Shared pointer implementation used to share index buffers. */
|
64
|
+
class _OgreExport HardwareVertexBufferSharedPtr : public SharedPtr<HardwareVertexBuffer>
|
65
|
+
{
|
66
|
+
public:
|
67
|
+
HardwareVertexBufferSharedPtr() : SharedPtr<HardwareVertexBuffer>() {}
|
68
|
+
explicit HardwareVertexBufferSharedPtr(HardwareVertexBuffer* buf);
|
69
|
+
|
70
|
+
|
71
|
+
};
|
72
|
+
|
73
|
+
/// Vertex element semantics, used to identify the meaning of vertex buffer contents
|
74
|
+
enum VertexElementSemantic {
|
75
|
+
/// Position, 3 reals per vertex
|
76
|
+
VES_POSITION = 1,
|
77
|
+
/// Blending weights
|
78
|
+
VES_BLEND_WEIGHTS = 2,
|
79
|
+
/// Blending indices
|
80
|
+
VES_BLEND_INDICES = 3,
|
81
|
+
/// Normal, 3 reals per vertex
|
82
|
+
VES_NORMAL = 4,
|
83
|
+
/// Diffuse colours
|
84
|
+
VES_DIFFUSE = 5,
|
85
|
+
/// Specular colours
|
86
|
+
VES_SPECULAR = 6,
|
87
|
+
/// Texture coordinates
|
88
|
+
VES_TEXTURE_COORDINATES = 7,
|
89
|
+
/// Binormal (Y axis if normal is Z)
|
90
|
+
VES_BINORMAL = 8,
|
91
|
+
/// Tangent (X axis if normal is Z)
|
92
|
+
VES_TANGENT = 9
|
93
|
+
|
94
|
+
};
|
95
|
+
|
96
|
+
/// Vertex element type, used to identify the base types of the vertex contents
|
97
|
+
enum VertexElementType
|
98
|
+
{
|
99
|
+
VET_FLOAT1 = 0,
|
100
|
+
VET_FLOAT2 = 1,
|
101
|
+
VET_FLOAT3 = 2,
|
102
|
+
VET_FLOAT4 = 3,
|
103
|
+
/// alias to more specific colour type - use the current rendersystem's colour packing
|
104
|
+
VET_COLOUR = 4,
|
105
|
+
VET_SHORT1 = 5,
|
106
|
+
VET_SHORT2 = 6,
|
107
|
+
VET_SHORT3 = 7,
|
108
|
+
VET_SHORT4 = 8,
|
109
|
+
VET_UBYTE4 = 9,
|
110
|
+
/// D3D style compact colour
|
111
|
+
VET_COLOUR_ARGB = 10,
|
112
|
+
/// GL style compact colour
|
113
|
+
VET_COLOUR_ABGR = 11
|
114
|
+
};
|
115
|
+
|
116
|
+
/** This class declares the usage of a single vertex buffer as a component
|
117
|
+
of a complete VertexDeclaration.
|
118
|
+
@remarks
|
119
|
+
Several vertex buffers can be used to supply the input geometry for a
|
120
|
+
rendering operation, and in each case a vertex buffer can be used in
|
121
|
+
different ways for different operations; the buffer itself does not
|
122
|
+
define the semantics (position, normal etc), the VertexElement
|
123
|
+
class does.
|
124
|
+
*/
|
125
|
+
class _OgreExport VertexElement
|
126
|
+
{
|
127
|
+
protected:
|
128
|
+
/// The source vertex buffer, as bound to an index using VertexBufferBinding
|
129
|
+
unsigned short mSource;
|
130
|
+
/// The offset in the buffer that this element starts at
|
131
|
+
size_t mOffset;
|
132
|
+
/// The type of element
|
133
|
+
VertexElementType mType;
|
134
|
+
/// The meaning of the element
|
135
|
+
VertexElementSemantic mSemantic;
|
136
|
+
/// Index of the item, only applicable for some elements like texture coords
|
137
|
+
unsigned short mIndex;
|
138
|
+
public:
|
139
|
+
/// Constructor, should not be called directly, call VertexDeclaration::addElement
|
140
|
+
VertexElement(unsigned short source, size_t offset, VertexElementType theType,
|
141
|
+
VertexElementSemantic semantic, unsigned short index = 0);
|
142
|
+
/// Gets the vertex buffer index from where this element draws it's values
|
143
|
+
unsigned short getSource(void) const { return mSource; }
|
144
|
+
/// Gets the offset into the buffer where this element starts
|
145
|
+
size_t getOffset(void) const { return mOffset; }
|
146
|
+
/// Gets the data format of this element
|
147
|
+
VertexElementType getType(void) const { return mType; }
|
148
|
+
/// Gets the meaning of this element
|
149
|
+
VertexElementSemantic getSemantic(void) const { return mSemantic; }
|
150
|
+
/// Gets the index of this element, only applicable for repeating elements
|
151
|
+
unsigned short getIndex(void) const { return mIndex; }
|
152
|
+
/// Gets the size of this element in bytes
|
153
|
+
size_t getSize(void) const;
|
154
|
+
/// Utility method for helping to calculate offsets
|
155
|
+
static size_t getTypeSize(VertexElementType etype);
|
156
|
+
/// Utility method which returns the count of values in a given type
|
157
|
+
static unsigned short getTypeCount(VertexElementType etype);
|
158
|
+
/** Simple converter function which will turn a single-value type into a
|
159
|
+
multi-value type based on a parameter.
|
160
|
+
*/
|
161
|
+
static VertexElementType multiplyTypeCount(VertexElementType baseType, unsigned short count);
|
162
|
+
/** Simple converter function which will a type into it's single-value
|
163
|
+
equivalent - makes switches on type easier.
|
164
|
+
*/
|
165
|
+
static VertexElementType getBaseType(VertexElementType multiType);
|
166
|
+
|
167
|
+
/** Utility method for converting colour from
|
168
|
+
one packed 32-bit colour type to another.
|
169
|
+
@param srcType The source type
|
170
|
+
@param dstType The destination type
|
171
|
+
@param ptr Read / write value to change
|
172
|
+
*/
|
173
|
+
static void convertColourValue(VertexElementType srcType,
|
174
|
+
VertexElementType dstType, uint32* ptr);
|
175
|
+
|
176
|
+
/** Utility method for converting colour to
|
177
|
+
a packed 32-bit colour type.
|
178
|
+
@param src source colour
|
179
|
+
@param dst The destination type
|
180
|
+
*/
|
181
|
+
static uint32 convertColourValue(const ColourValue& src,
|
182
|
+
VertexElementType dst);
|
183
|
+
|
184
|
+
/** Utility method to get the most appropriate packed colour vertex element format. */
|
185
|
+
static VertexElementType getBestColourVertexElementType(void);
|
186
|
+
|
187
|
+
inline bool operator== (const VertexElement& rhs) const
|
188
|
+
{
|
189
|
+
if (mType != rhs.mType ||
|
190
|
+
mIndex != rhs.mIndex ||
|
191
|
+
mOffset != rhs.mOffset ||
|
192
|
+
mSemantic != rhs.mSemantic ||
|
193
|
+
mSource != rhs.mSource)
|
194
|
+
return false;
|
195
|
+
else
|
196
|
+
return true;
|
197
|
+
|
198
|
+
}
|
199
|
+
/** Adjusts a pointer to the base of a vertex to point at this element.
|
200
|
+
@remarks
|
201
|
+
This variant is for void pointers, passed as a parameter because we can't
|
202
|
+
rely on covariant return types.
|
203
|
+
@param pBase Pointer to the start of a vertex in this buffer.
|
204
|
+
@param pElem Pointer to a pointer which will be set to the start of this element.
|
205
|
+
*/
|
206
|
+
inline void baseVertexPointerToElement(void* pBase, void** pElem) const
|
207
|
+
{
|
208
|
+
// The only way we can do this is to cast to char* in order to use byte offset
|
209
|
+
// then cast back to void*.
|
210
|
+
*pElem = static_cast<void*>(
|
211
|
+
static_cast<unsigned char*>(pBase) + mOffset);
|
212
|
+
}
|
213
|
+
/** Adjusts a pointer to the base of a vertex to point at this element.
|
214
|
+
@remarks
|
215
|
+
This variant is for float pointers, passed as a parameter because we can't
|
216
|
+
rely on covariant return types.
|
217
|
+
@param pBase Pointer to the start of a vertex in this buffer.
|
218
|
+
@param pElem Pointer to a pointer which will be set to the start of this element.
|
219
|
+
*/
|
220
|
+
inline void baseVertexPointerToElement(void* pBase, float** pElem) const
|
221
|
+
{
|
222
|
+
// The only way we can do this is to cast to char* in order to use byte offset
|
223
|
+
// then cast back to float*. However we have to go via void* because casting
|
224
|
+
// directly is not allowed
|
225
|
+
*pElem = static_cast<float*>(
|
226
|
+
static_cast<void*>(
|
227
|
+
static_cast<unsigned char*>(pBase) + mOffset));
|
228
|
+
}
|
229
|
+
|
230
|
+
/** Adjusts a pointer to the base of a vertex to point at this element.
|
231
|
+
@remarks
|
232
|
+
This variant is for RGBA pointers, passed as a parameter because we can't
|
233
|
+
rely on covariant return types.
|
234
|
+
@param pBase Pointer to the start of a vertex in this buffer.
|
235
|
+
@param pElem Pointer to a pointer which will be set to the start of this element.
|
236
|
+
*/
|
237
|
+
inline void baseVertexPointerToElement(void* pBase, RGBA** pElem) const
|
238
|
+
{
|
239
|
+
*pElem = static_cast<RGBA*>(
|
240
|
+
static_cast<void*>(
|
241
|
+
static_cast<unsigned char*>(pBase) + mOffset));
|
242
|
+
}
|
243
|
+
/** Adjusts a pointer to the base of a vertex to point at this element.
|
244
|
+
@remarks
|
245
|
+
This variant is for char pointers, passed as a parameter because we can't
|
246
|
+
rely on covariant return types.
|
247
|
+
@param pBase Pointer to the start of a vertex in this buffer.
|
248
|
+
@param pElem Pointer to a pointer which will be set to the start of this element.
|
249
|
+
*/
|
250
|
+
inline void baseVertexPointerToElement(void* pBase, unsigned char** pElem) const
|
251
|
+
{
|
252
|
+
*pElem = static_cast<unsigned char*>(pBase) + mOffset;
|
253
|
+
}
|
254
|
+
|
255
|
+
/** Adjusts a pointer to the base of a vertex to point at this element.
|
256
|
+
@remarks
|
257
|
+
This variant is for ushort pointers, passed as a parameter because we can't
|
258
|
+
rely on covariant return types.
|
259
|
+
@param pBase Pointer to the start of a vertex in this buffer.
|
260
|
+
@param pElem Pointer to a pointer which will be set to the start of this element.
|
261
|
+
*/
|
262
|
+
inline void baseVertexPointerToElement(void* pBase, unsigned short** pElem) const
|
263
|
+
{
|
264
|
+
*pElem = static_cast<unsigned short*>(pBase) + mOffset;
|
265
|
+
}
|
266
|
+
|
267
|
+
|
268
|
+
};
|
269
|
+
/** This class declares the format of a set of vertex inputs, which
|
270
|
+
can be issued to the rendering API through a RenderOperation.
|
271
|
+
@remarks
|
272
|
+
You should be aware that the ordering and structure of the
|
273
|
+
VertexDeclaration can be very important on DirectX with older
|
274
|
+
cards,so if you want to maintain maximum compatibility with
|
275
|
+
all render systems and all cards you should be careful to follow these
|
276
|
+
rules:<ol>
|
277
|
+
<li>VertexElements should be added in the following order, and the order of the
|
278
|
+
elements within a shared buffer should be as follows:
|
279
|
+
position, blending weights, normals, diffuse colours, specular colours,
|
280
|
+
texture coordinates (in order, with no gaps)</li>
|
281
|
+
<li>You must not have unused gaps in your buffers which are not referenced
|
282
|
+
by any VertexElement</li>
|
283
|
+
<li>You must not cause the buffer & offset settings of 2 VertexElements to overlap</li>
|
284
|
+
</ol>
|
285
|
+
Whilst GL and more modern graphics cards in D3D will allow you to defy these rules,
|
286
|
+
sticking to them will ensure that your buffers have the maximum compatibility.
|
287
|
+
@par
|
288
|
+
Like the other classes in this functional area, these declarations should be created and
|
289
|
+
destroyed using the HardwareBufferManager.
|
290
|
+
*/
|
291
|
+
class _OgreExport VertexDeclaration
|
292
|
+
{
|
293
|
+
public:
|
294
|
+
/// Defines the list of vertex elements that makes up this declaration
|
295
|
+
typedef std::list<VertexElement> VertexElementList;
|
296
|
+
/// Sort routine for vertex elements
|
297
|
+
static bool vertexElementLess(const VertexElement& e1, const VertexElement& e2);
|
298
|
+
protected:
|
299
|
+
VertexElementList mElementList;
|
300
|
+
public:
|
301
|
+
/// Standard constructor, not you should use HardwareBufferManager::createVertexDeclaration
|
302
|
+
VertexDeclaration();
|
303
|
+
virtual ~VertexDeclaration();
|
304
|
+
|
305
|
+
/** Get the number of elements in the declaration. */
|
306
|
+
size_t getElementCount(void) { return mElementList.size(); }
|
307
|
+
/** Gets read-only access to the list of vertex elements. */
|
308
|
+
const VertexElementList& getElements(void) const;
|
309
|
+
/** Get a single element. */
|
310
|
+
const VertexElement* getElement(unsigned short index);
|
311
|
+
|
312
|
+
/** Sorts the elements in this list to be compatible with the maximum
|
313
|
+
number of rendering APIs / graphics cards.
|
314
|
+
@remarks
|
315
|
+
Older graphics cards require vertex data to be presented in a more
|
316
|
+
rigid way, as defined in the main documentation for this class. As well
|
317
|
+
as the ordering being important, where shared source buffers are used, the
|
318
|
+
declaration must list all the elements for each source in turn.
|
319
|
+
*/
|
320
|
+
void sort(void);
|
321
|
+
|
322
|
+
/** Remove any gaps in the source buffer list used by this declaration.
|
323
|
+
@remarks
|
324
|
+
This is useful if you've modified a declaration and want to remove
|
325
|
+
any gaps in the list of buffers being used. Note, however, that if this
|
326
|
+
declaration is already being used with a VertexBufferBinding, you will
|
327
|
+
need to alter that too. This method is mainly useful when reorganising
|
328
|
+
buffers based on an altered declaration.
|
329
|
+
@note
|
330
|
+
This will cause the vertex declaration to be re-sorted.
|
331
|
+
*/
|
332
|
+
void closeGapsInSource(void);
|
333
|
+
|
334
|
+
/** Generates a new VertexDeclaration for optimal usage based on the current
|
335
|
+
vertex declaration, which can be used with VertexData::reorganiseBuffers later
|
336
|
+
if you wish, or simply used as a template.
|
337
|
+
@remarks
|
338
|
+
Different buffer organisations and buffer usages will be returned
|
339
|
+
depending on the parameters passed to this method.
|
340
|
+
@param skeletalAnimation Whether this vertex data is going to be
|
341
|
+
skeletally animated
|
342
|
+
@param vertexAnimation Whether this vertex data is going to be vertex animated
|
343
|
+
*/
|
344
|
+
VertexDeclaration* getAutoOrganisedDeclaration(bool skeletalAnimation,
|
345
|
+
bool vertexAnimation);
|
346
|
+
|
347
|
+
/** Gets the indeex of the highest source value referenced by this declaration. */
|
348
|
+
unsigned short getMaxSource(void) const;
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
/** Adds a new VertexElement to this declaration.
|
353
|
+
@remarks
|
354
|
+
This method adds a single element (positions, normals etc) to the end of the
|
355
|
+
vertex declaration. <b>Please read the information in VertexDeclaration about
|
356
|
+
the importance of ordering and structure for compatibility with older D3D drivers</b>.
|
357
|
+
@param source The binding index of HardwareVertexBuffer which will provide the source for this element.
|
358
|
+
See VertexBufferBindingState for full information.
|
359
|
+
@param offset The offset in bytes where this element is located in the buffer
|
360
|
+
@param theType The data format of the element (3 floats, a colour etc)
|
361
|
+
@param semantic The meaning of the data (position, normal, diffuse colour etc)
|
362
|
+
@param index Optional index for multi-input elements like texture coordinates
|
363
|
+
@returns A reference to the VertexElement added.
|
364
|
+
*/
|
365
|
+
virtual const VertexElement& addElement(unsigned short source, size_t offset, VertexElementType theType,
|
366
|
+
VertexElementSemantic semantic, unsigned short index = 0);
|
367
|
+
/** Inserts a new VertexElement at a given position in this declaration.
|
368
|
+
@remarks
|
369
|
+
This method adds a single element (positions, normals etc) at a given position in this
|
370
|
+
vertex declaration. <b>Please read the information in VertexDeclaration about
|
371
|
+
the importance of ordering and structure for compatibility with older D3D drivers</b>.
|
372
|
+
@param source The binding index of HardwareVertexBuffer which will provide the source for this element.
|
373
|
+
See VertexBufferBindingState for full information.
|
374
|
+
@param offset The offset in bytes where this element is located in the buffer
|
375
|
+
@param theType The data format of the element (3 floats, a colour etc)
|
376
|
+
@param semantic The meaning of the data (position, normal, diffuse colour etc)
|
377
|
+
@param index Optional index for multi-input elements like texture coordinates
|
378
|
+
@returns A reference to the VertexElement added.
|
379
|
+
*/
|
380
|
+
virtual const VertexElement& insertElement(unsigned short atPosition,
|
381
|
+
unsigned short source, size_t offset, VertexElementType theType,
|
382
|
+
VertexElementSemantic semantic, unsigned short index = 0);
|
383
|
+
|
384
|
+
/** Remove the element at the given index from this declaration. */
|
385
|
+
virtual void removeElement(unsigned short elem_index);
|
386
|
+
|
387
|
+
/** Remove the element with the given semantic and usage index.
|
388
|
+
@remarks
|
389
|
+
In this case 'index' means the usage index for repeating elements such
|
390
|
+
as texture coordinates. For other elements this will always be 0 and does
|
391
|
+
not refer to the index in the vector.
|
392
|
+
*/
|
393
|
+
virtual void removeElement(VertexElementSemantic semantic, unsigned short index = 0);
|
394
|
+
|
395
|
+
/** Remove all elements. */
|
396
|
+
virtual void removeAllElements(void);
|
397
|
+
|
398
|
+
/** Modify an element in-place, params as addElement.
|
399
|
+
@remarks
|
400
|
+
<b>Please read the information in VertexDeclaration about
|
401
|
+
the importance of ordering and structure for compatibility with older D3D drivers</b>.
|
402
|
+
*/
|
403
|
+
virtual void modifyElement(unsigned short elem_index, unsigned short source, size_t offset, VertexElementType theType,
|
404
|
+
VertexElementSemantic semantic, unsigned short index = 0);
|
405
|
+
|
406
|
+
/** Finds a VertexElement with the given semantic, and index if there is more than
|
407
|
+
one element with the same semantic.
|
408
|
+
@remarks
|
409
|
+
If the element is not found, this method returns null.
|
410
|
+
*/
|
411
|
+
virtual const VertexElement* findElementBySemantic(VertexElementSemantic sem, unsigned short index = 0);
|
412
|
+
/** Based on the current elements, gets the size of the vertex for a given buffer source.
|
413
|
+
@param source The buffer binding index for which to get the vertex size.
|
414
|
+
*/
|
415
|
+
|
416
|
+
/** Gets a list of elements which use a given source.
|
417
|
+
@remarks
|
418
|
+
Note that the list of elements is returned by value therefore is separate from
|
419
|
+
the declaration as soon as this method returns.
|
420
|
+
*/
|
421
|
+
virtual VertexElementList findElementsBySource(unsigned short source);
|
422
|
+
|
423
|
+
/** Gets the vertex size defined by this declaration for a given source. */
|
424
|
+
virtual size_t getVertexSize(unsigned short source);
|
425
|
+
|
426
|
+
/** Clones this declaration. */
|
427
|
+
virtual VertexDeclaration* clone(void);
|
428
|
+
|
429
|
+
inline bool operator== (const VertexDeclaration& rhs) const
|
430
|
+
{
|
431
|
+
if (mElementList.size() != rhs.mElementList.size())
|
432
|
+
return false;
|
433
|
+
|
434
|
+
VertexElementList::const_iterator i, iend, rhsi, rhsiend;
|
435
|
+
iend = mElementList.end();
|
436
|
+
rhsiend = rhs.mElementList.end();
|
437
|
+
rhsi = rhs.mElementList.begin();
|
438
|
+
for (i = mElementList.begin(); i != iend && rhsi != rhsiend; ++i, ++rhsi)
|
439
|
+
{
|
440
|
+
if ( !(*i == *rhsi) )
|
441
|
+
return false;
|
442
|
+
}
|
443
|
+
|
444
|
+
return true;
|
445
|
+
}
|
446
|
+
inline bool operator!= (const VertexDeclaration& rhs) const
|
447
|
+
{
|
448
|
+
return !(*this == rhs);
|
449
|
+
}
|
450
|
+
|
451
|
+
};
|
452
|
+
|
453
|
+
/** Records the state of all the vertex buffer bindings required to provide a vertex declaration
|
454
|
+
with the input data it needs for the vertex elements.
|
455
|
+
@remarks
|
456
|
+
Why do we have this binding list rather than just have VertexElement referring to the
|
457
|
+
vertex buffers direct? Well, in the underlying APIs, binding the vertex buffers to an
|
458
|
+
index (or 'stream') is the way that vertex data is linked, so this structure better
|
459
|
+
reflects the realities of that. In addition, by separating the vertex declaration from
|
460
|
+
the list of vertex buffer bindings, it becomes possible to reuse bindings between declarations
|
461
|
+
and vice versa, giving opportunities to reduce the state changes required to perform rendering.
|
462
|
+
@par
|
463
|
+
Like the other classes in this functional area, these binding maps should be created and
|
464
|
+
destroyed using the HardwareBufferManager.
|
465
|
+
*/
|
466
|
+
class _OgreExport VertexBufferBinding
|
467
|
+
{
|
468
|
+
public:
|
469
|
+
/// Defines the vertex buffer bindings used as source for vertex declarations
|
470
|
+
typedef std::map<unsigned short, HardwareVertexBufferSharedPtr> VertexBufferBindingMap;
|
471
|
+
protected:
|
472
|
+
VertexBufferBindingMap mBindingMap;
|
473
|
+
mutable unsigned short mHighIndex;
|
474
|
+
public:
|
475
|
+
/// Constructor, should not be called direct, use HardwareBufferManager::createVertexBufferBinding
|
476
|
+
VertexBufferBinding();
|
477
|
+
virtual ~VertexBufferBinding();
|
478
|
+
/** Set a binding, associating a vertex buffer with a given index.
|
479
|
+
@remarks
|
480
|
+
If the index is already associated with a vertex buffer,
|
481
|
+
the association will be replaced. This may cause the old buffer
|
482
|
+
to be destroyed if nothing else is referring to it.
|
483
|
+
You should assign bindings from 0 and not leave gaps, although you can
|
484
|
+
bind them in any order.
|
485
|
+
*/
|
486
|
+
virtual void setBinding(unsigned short index, const HardwareVertexBufferSharedPtr& buffer);
|
487
|
+
/** Removes an existing binding. */
|
488
|
+
virtual void unsetBinding(unsigned short index);
|
489
|
+
|
490
|
+
/** Removes all the bindings. */
|
491
|
+
virtual void unsetAllBindings(void);
|
492
|
+
|
493
|
+
/// Gets a read-only version of the buffer bindings
|
494
|
+
virtual const VertexBufferBindingMap& getBindings(void) const;
|
495
|
+
|
496
|
+
/// Gets the buffer bound to the given source index
|
497
|
+
virtual const HardwareVertexBufferSharedPtr& getBuffer(unsigned short index) const;
|
498
|
+
/// Gets whether a buffer is bound to the given source index
|
499
|
+
virtual bool isBufferBound(unsigned short index) const;
|
500
|
+
|
501
|
+
virtual size_t getBufferCount(void) const { return mBindingMap.size(); }
|
502
|
+
|
503
|
+
/** Gets the highest index which has already been set, plus 1.
|
504
|
+
@remarks
|
505
|
+
This is to assist in binding the vertex buffers such that there are
|
506
|
+
not gaps in the list.
|
507
|
+
*/
|
508
|
+
virtual unsigned short getNextIndex(void) const { return mHighIndex++; }
|
509
|
+
|
510
|
+
/** Gets the last bound index.
|
511
|
+
*/
|
512
|
+
virtual unsigned short getLastBoundIndex(void) const;
|
513
|
+
|
514
|
+
typedef std::map<ushort, ushort> BindingIndexMap;
|
515
|
+
|
516
|
+
/** Check whether any gaps in the bindings.
|
517
|
+
*/
|
518
|
+
virtual bool hasGaps(void) const;
|
519
|
+
|
520
|
+
/** Remove any gaps in the bindings.
|
521
|
+
@remarks
|
522
|
+
This is useful if you've removed vertex buffer from this vertex buffer
|
523
|
+
bindings and want to remove any gaps in the bindings. Note, however,
|
524
|
+
that if this bindings is already being used with a VertexDeclaration,
|
525
|
+
you will need to alter that too. This method is mainly useful when
|
526
|
+
reorganising buffers manually.
|
527
|
+
@param
|
528
|
+
bindingIndexMap To be retrieve the binding index map that used to
|
529
|
+
translation old index to new index; will be cleared by this method
|
530
|
+
before fill-in.
|
531
|
+
*/
|
532
|
+
virtual void closeGaps(BindingIndexMap& bindingIndexMap);
|
533
|
+
|
534
|
+
|
535
|
+
};
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
}
|
540
|
+
#endif
|
541
|
+
|