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,62 @@
|
|
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 _ArchiveFactory_H__
|
30
|
+
#define _ArchiveFactory_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
|
34
|
+
#include "OgreFactoryObj.h"
|
35
|
+
|
36
|
+
namespace Ogre {
|
37
|
+
|
38
|
+
/** Abstract factory class, archive codec plugins can register concrete
|
39
|
+
subclasses of this.
|
40
|
+
@remarks
|
41
|
+
All access to 'archives' (collections of files, compressed or
|
42
|
+
just folders, maybe even remote) is managed via the abstract
|
43
|
+
Archive class. Plugins are expected to provide the
|
44
|
+
implementation for the actual codec itself, but because a
|
45
|
+
subclass of Archive has to be created for every archive, a
|
46
|
+
factory class is required to create the appropriate subclass.
|
47
|
+
@par
|
48
|
+
So archive plugins create a subclass of Archive AND a subclass
|
49
|
+
of ArchiveFactory which creates instances of the Archive
|
50
|
+
subclass. See the 'Zip' and 'FileSystem' plugins for examples.
|
51
|
+
Each Archive and ArchiveFactory subclass pair deal with a
|
52
|
+
single archive type (identified by a string).
|
53
|
+
*/
|
54
|
+
class _OgreExport ArchiveFactory : public FactoryObj< Archive >
|
55
|
+
{
|
56
|
+
public:
|
57
|
+
// No methods, must just override all methods inherited from FactoryObj
|
58
|
+
};
|
59
|
+
|
60
|
+
} // namespace
|
61
|
+
|
62
|
+
#endif
|
@@ -0,0 +1,130 @@
|
|
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 _ArchiveManager_H__
|
30
|
+
#define _ArchiveManager_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
|
34
|
+
#include "OgreResourceManager.h"
|
35
|
+
#include "OgreSingleton.h"
|
36
|
+
|
37
|
+
namespace Ogre {
|
38
|
+
|
39
|
+
/** This class manages the available ArchiveFactory plugins.
|
40
|
+
*/
|
41
|
+
class _OgreExport ArchiveManager : public Singleton<ArchiveManager>
|
42
|
+
{
|
43
|
+
protected:
|
44
|
+
typedef std::map<String, ArchiveFactory*> ArchiveFactoryMap;
|
45
|
+
/// Factories available to create archives, indexed by archive type (String identifier e.g. 'Zip')
|
46
|
+
ArchiveFactoryMap mArchFactories;
|
47
|
+
/// Currently loaded archives
|
48
|
+
typedef std::map<String, Archive*> ArchiveMap;
|
49
|
+
ArchiveMap mArchives;
|
50
|
+
|
51
|
+
public:
|
52
|
+
/** Default constructor - should never get called by a client app.
|
53
|
+
*/
|
54
|
+
ArchiveManager() {}
|
55
|
+
/** Default destructor.
|
56
|
+
*/
|
57
|
+
virtual ~ArchiveManager();
|
58
|
+
|
59
|
+
/** Opens an archive for file reading.
|
60
|
+
@remarks
|
61
|
+
The archives are created using class factories within
|
62
|
+
extension libraries.
|
63
|
+
@param filename
|
64
|
+
The filename that will be opened
|
65
|
+
@param refLibrary
|
66
|
+
The library that contains the data-handling code
|
67
|
+
@returns
|
68
|
+
If the function succeeds, a valid pointer to an Archive
|
69
|
+
object is returened.
|
70
|
+
@par
|
71
|
+
If the function fails, an exception is thrown.
|
72
|
+
*/
|
73
|
+
Archive* load( const String& filename, const String& archiveType);
|
74
|
+
|
75
|
+
/** Unloads an archive.
|
76
|
+
@remarks
|
77
|
+
You must ensure that this archive is not being used before removing it.
|
78
|
+
*/
|
79
|
+
void unload(Archive* arch);
|
80
|
+
/** Unloads an archive by name.
|
81
|
+
@remarks
|
82
|
+
You must ensure that this archive is not being used before removing it.
|
83
|
+
*/
|
84
|
+
void unload(const String& filename);
|
85
|
+
|
86
|
+
|
87
|
+
/** Adds a new ArchiveFactory to the list of available factories.
|
88
|
+
@remarks
|
89
|
+
Plugin developers who add new archive codecs need to call
|
90
|
+
this after defining their ArchiveFactory subclass and
|
91
|
+
Archive subclasses for their archive type.
|
92
|
+
*/
|
93
|
+
void addArchiveFactory(ArchiveFactory* factory);
|
94
|
+
/** Override standard Singleton retrieval.
|
95
|
+
@remarks
|
96
|
+
Why do we do this? Well, it's because the Singleton
|
97
|
+
implementation is in a .h file, which means it gets compiled
|
98
|
+
into anybody who includes it. This is needed for the
|
99
|
+
Singleton template to work, but we actually only want it
|
100
|
+
compiled into the implementation of the class based on the
|
101
|
+
Singleton, not all of them. If we don't change this, we get
|
102
|
+
link errors when trying to use the Singleton-based class from
|
103
|
+
an outside dll.
|
104
|
+
@par
|
105
|
+
This method just delegates to the template version anyway,
|
106
|
+
but the implementation stays in this single compilation unit,
|
107
|
+
preventing link errors.
|
108
|
+
*/
|
109
|
+
static ArchiveManager& getSingleton(void);
|
110
|
+
/** Override standard Singleton retrieval.
|
111
|
+
@remarks
|
112
|
+
Why do we do this? Well, it's because the Singleton
|
113
|
+
implementation is in a .h file, which means it gets compiled
|
114
|
+
into anybody who includes it. This is needed for the
|
115
|
+
Singleton template to work, but we actually only want it
|
116
|
+
compiled into the implementation of the class based on the
|
117
|
+
Singleton, not all of them. If we don't change this, we get
|
118
|
+
link errors when trying to use the Singleton-based class from
|
119
|
+
an outside dll.
|
120
|
+
@par
|
121
|
+
This method just delegates to the template version anyway,
|
122
|
+
but the implementation stays in this single compilation unit,
|
123
|
+
preventing link errors.
|
124
|
+
*/
|
125
|
+
static ArchiveManager* getSingletonPtr(void);
|
126
|
+
};
|
127
|
+
|
128
|
+
}
|
129
|
+
|
130
|
+
#endif
|
@@ -0,0 +1,225 @@
|
|
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 __AutoParamDataSource_H_
|
30
|
+
#define __AutoParamDataSource_H_
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreCommon.h"
|
34
|
+
#include "OgreMatrix4.h"
|
35
|
+
#include "OgreVector4.h"
|
36
|
+
#include "OgreLight.h"
|
37
|
+
#include "OgreColourValue.h"
|
38
|
+
|
39
|
+
namespace Ogre {
|
40
|
+
|
41
|
+
// forward decls
|
42
|
+
struct VisibleObjectsBoundsInfo;
|
43
|
+
|
44
|
+
|
45
|
+
/** This utility class is used to hold the information used to generate the matrices
|
46
|
+
and other information required to automatically populate GpuProgramParameters.
|
47
|
+
@remarks
|
48
|
+
This class exercises a lazy-update scheme in order to avoid having to update all
|
49
|
+
the information a GpuProgramParameters class could possibly want all the time.
|
50
|
+
It relies on the SceneManager to update it when the base data has changed, and
|
51
|
+
will calculate concatenated matrices etc only when required, passing back precalculated
|
52
|
+
matrices when they are requested more than once when the underlying information has
|
53
|
+
not altered.
|
54
|
+
*/
|
55
|
+
class _OgreExport AutoParamDataSource
|
56
|
+
{
|
57
|
+
protected:
|
58
|
+
mutable Matrix4 mWorldMatrix[256];
|
59
|
+
mutable size_t mWorldMatrixCount;
|
60
|
+
mutable const Matrix4* mWorldMatrixArray;
|
61
|
+
mutable Matrix4 mWorldViewMatrix;
|
62
|
+
mutable Matrix4 mViewProjMatrix;
|
63
|
+
mutable Matrix4 mWorldViewProjMatrix;
|
64
|
+
mutable Matrix4 mInverseWorldMatrix;
|
65
|
+
mutable Matrix4 mInverseWorldViewMatrix;
|
66
|
+
mutable Matrix4 mInverseViewMatrix;
|
67
|
+
mutable Matrix4 mInverseTransposeWorldMatrix;
|
68
|
+
mutable Matrix4 mInverseTransposeWorldViewMatrix;
|
69
|
+
mutable Vector4 mCameraPositionObjectSpace;
|
70
|
+
mutable Matrix4 mTextureViewProjMatrix[OGRE_MAX_SIMULTANEOUS_LIGHTS];
|
71
|
+
mutable Matrix4 mViewMatrix;
|
72
|
+
mutable Matrix4 mProjectionMatrix;
|
73
|
+
mutable Real mDirLightExtrusionDistance;
|
74
|
+
mutable Vector4 mCameraPosition;
|
75
|
+
|
76
|
+
mutable bool mWorldMatrixDirty;
|
77
|
+
mutable bool mViewMatrixDirty;
|
78
|
+
mutable bool mProjMatrixDirty;
|
79
|
+
mutable bool mWorldViewMatrixDirty;
|
80
|
+
mutable bool mViewProjMatrixDirty;
|
81
|
+
mutable bool mWorldViewProjMatrixDirty;
|
82
|
+
mutable bool mInverseWorldMatrixDirty;
|
83
|
+
mutable bool mInverseWorldViewMatrixDirty;
|
84
|
+
mutable bool mInverseViewMatrixDirty;
|
85
|
+
mutable bool mInverseTransposeWorldMatrixDirty;
|
86
|
+
mutable bool mInverseTransposeWorldViewMatrixDirty;
|
87
|
+
mutable bool mCameraPositionObjectSpaceDirty;
|
88
|
+
mutable bool mCameraPositionDirty;
|
89
|
+
mutable bool mTextureViewProjMatrixDirty[OGRE_MAX_SIMULTANEOUS_LIGHTS];
|
90
|
+
mutable ColourValue mAmbientLight;
|
91
|
+
mutable ColourValue mFogColour;
|
92
|
+
mutable Vector4 mFogParams;
|
93
|
+
mutable int mPassNumber;
|
94
|
+
mutable Vector4 mSceneDepthRange;
|
95
|
+
mutable bool mSceneDepthRangeDirty;
|
96
|
+
// Ordered by light, populated on demand, dirtied when lights change
|
97
|
+
mutable std::vector<Vector4> mShadowCamDepthRanges;
|
98
|
+
mutable bool mShadowCamDepthRangesDirty;
|
99
|
+
|
100
|
+
const Renderable* mCurrentRenderable;
|
101
|
+
const Camera* mCurrentCamera;
|
102
|
+
const LightList* mCurrentLightList;
|
103
|
+
const Frustum* mCurrentTextureProjector[OGRE_MAX_SIMULTANEOUS_LIGHTS];
|
104
|
+
const RenderTarget* mCurrentRenderTarget;
|
105
|
+
const Viewport* mCurrentViewport;
|
106
|
+
const SceneManager* mCurrentSceneManager;
|
107
|
+
const VisibleObjectsBoundsInfo* mMainCamBoundsInfo;
|
108
|
+
const Pass* mCurrentPass;
|
109
|
+
|
110
|
+
Light mBlankLight;
|
111
|
+
public:
|
112
|
+
AutoParamDataSource();
|
113
|
+
~AutoParamDataSource();
|
114
|
+
/** Updates the current renderable */
|
115
|
+
void setCurrentRenderable(const Renderable* rend);
|
116
|
+
/** Sets the world matrices, avoid query from renderable again */
|
117
|
+
void setWorldMatrices(const Matrix4* m, size_t count);
|
118
|
+
/** Updates the current camera */
|
119
|
+
void setCurrentCamera(const Camera* cam);
|
120
|
+
/** Sets the light list that should be used */
|
121
|
+
void setCurrentLightList(const LightList* ll);
|
122
|
+
/** Sets the current texture projector for a index */
|
123
|
+
void setTextureProjector(const Frustum* frust, size_t index);
|
124
|
+
/** Sets the current render target */
|
125
|
+
void setCurrentRenderTarget(const RenderTarget* target);
|
126
|
+
/** Sets the current viewport */
|
127
|
+
void setCurrentViewport(const Viewport* viewport);
|
128
|
+
/** Sets the shadow extrusion distance to be used for point lights. */
|
129
|
+
void setShadowDirLightExtrusionDistance(Real dist);
|
130
|
+
/** Sets the main camera's scene bounding information */
|
131
|
+
void setMainCamBoundsInfo(VisibleObjectsBoundsInfo* info);
|
132
|
+
/** Set the current scene manager for enquiring on demand */
|
133
|
+
void setCurrentSceneManager(const SceneManager* sm);
|
134
|
+
/** Sets the current pass */
|
135
|
+
void setCurrentPass(const Pass* pass);
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
const Matrix4& getWorldMatrix(void) const;
|
140
|
+
const Matrix4* getWorldMatrixArray(void) const;
|
141
|
+
size_t getWorldMatrixCount(void) const;
|
142
|
+
const Matrix4& getViewMatrix(void) const;
|
143
|
+
const Matrix4& getViewProjectionMatrix(void) const;
|
144
|
+
const Matrix4& getProjectionMatrix(void) const;
|
145
|
+
const Matrix4& getWorldViewProjMatrix(void) const;
|
146
|
+
const Matrix4& getWorldViewMatrix(void) const;
|
147
|
+
const Matrix4& getInverseWorldMatrix(void) const;
|
148
|
+
const Matrix4& getInverseWorldViewMatrix(void) const;
|
149
|
+
const Matrix4& getInverseViewMatrix(void) const;
|
150
|
+
const Matrix4& getInverseTransposeWorldMatrix(void) const;
|
151
|
+
const Matrix4& getInverseTransposeWorldViewMatrix(void) const;
|
152
|
+
const Vector4& getCameraPosition(void) const;
|
153
|
+
const Vector4& getCameraPositionObjectSpace(void) const;
|
154
|
+
/** Get the light which is 'index'th closest to the current object */
|
155
|
+
const Light& getLight(size_t index) const;
|
156
|
+
void setAmbientLightColour(const ColourValue& ambient);
|
157
|
+
const ColourValue& getAmbientLightColour(void) const;
|
158
|
+
const ColourValue& getSurfaceAmbientColour(void) const;
|
159
|
+
const ColourValue& getSurfaceDiffuseColour(void) const;
|
160
|
+
const ColourValue& getSurfaceSpecularColour(void) const;
|
161
|
+
const ColourValue& getSurfaceEmissiveColour(void) const;
|
162
|
+
Real getSurfaceShininess(void) const;
|
163
|
+
ColourValue getDerivedAmbientLightColour(void) const;
|
164
|
+
ColourValue getDerivedSceneColour(void) const;
|
165
|
+
void setFog(FogMode mode, const ColourValue& colour, Real expDensity, Real linearStart, Real linearEnd);
|
166
|
+
const ColourValue& getFogColour(void) const;
|
167
|
+
const Vector4& getFogParams(void) const;
|
168
|
+
const Matrix4& getTextureViewProjMatrix(size_t index) const;
|
169
|
+
const RenderTarget* getCurrentRenderTarget(void) const;
|
170
|
+
const Renderable* getCurrentRenderable(void) const;
|
171
|
+
const Pass* getCurrentPass(void) const;
|
172
|
+
Vector4 getTextureSize(size_t index) const;
|
173
|
+
Vector4 getInverseTextureSize(size_t index) const;
|
174
|
+
Vector4 getPackedTextureSize(size_t index) const;
|
175
|
+
Real getShadowExtrusionDistance(void) const;
|
176
|
+
const Vector4& getSceneDepthRange() const;
|
177
|
+
const Vector4& getShadowSceneDepthRange(size_t lightIndex) const;
|
178
|
+
Matrix4 getInverseViewProjMatrix(void) const;
|
179
|
+
Matrix4 getInverseTransposeViewProjMatrix() const;
|
180
|
+
Matrix4 getTransposeViewProjMatrix() const;
|
181
|
+
Matrix4 getTransposeViewMatrix() const;
|
182
|
+
Matrix4 getInverseTransposeViewMatrix() const;
|
183
|
+
Matrix4 getTransposeProjectionMatrix() const;
|
184
|
+
Matrix4 getInverseProjectionMatrix() const;
|
185
|
+
Matrix4 getInverseTransposeProjectionMatrix() const;
|
186
|
+
Matrix4 getTransposeWorldViewProjMatrix() const;
|
187
|
+
Matrix4 getInverseWorldViewProjMatrix() const;
|
188
|
+
Matrix4 getInverseTransposeWorldViewProjMatrix() const;
|
189
|
+
Matrix4 getTransposeWorldViewMatrix() const;
|
190
|
+
Matrix4 getTransposeWorldMatrix() const;
|
191
|
+
Real getTime(void) const;
|
192
|
+
Real getTime_0_X(Real x) const;
|
193
|
+
Real getCosTime_0_X(Real x) const;
|
194
|
+
Real getSinTime_0_X(Real x) const;
|
195
|
+
Real getTanTime_0_X(Real x) const;
|
196
|
+
Vector4 getTime_0_X_packed(Real x) const;
|
197
|
+
Real getTime_0_1(Real x) const;
|
198
|
+
Real getCosTime_0_1(Real x) const;
|
199
|
+
Real getSinTime_0_1(Real x) const;
|
200
|
+
Real getTanTime_0_1(Real x) const;
|
201
|
+
Vector4 getTime_0_1_packed(Real x) const;
|
202
|
+
Real getTime_0_2Pi(Real x) const;
|
203
|
+
Real getCosTime_0_2Pi(Real x) const;
|
204
|
+
Real getSinTime_0_2Pi(Real x) const;
|
205
|
+
Real getTanTime_0_2Pi(Real x) const;
|
206
|
+
Vector4 getTime_0_2Pi_packed(Real x) const;
|
207
|
+
Real getFrameTime(void) const;
|
208
|
+
Real getFPS() const;
|
209
|
+
Real getViewportWidth() const;
|
210
|
+
Real getViewportHeight() const;
|
211
|
+
Real getInverseViewportWidth() const;
|
212
|
+
Real getInverseViewportHeight() const;
|
213
|
+
Vector3 getViewDirection() const;
|
214
|
+
Vector3 getViewSideVector() const;
|
215
|
+
Vector3 getViewUpVector() const;
|
216
|
+
Real getFOV() const;
|
217
|
+
Real getNearClipDistance() const;
|
218
|
+
Real getFarClipDistance() const;
|
219
|
+
int getPassNumber(void) const;
|
220
|
+
void setPassNumber(const int passNumber);
|
221
|
+
void incPassNumber(void);
|
222
|
+
};
|
223
|
+
}
|
224
|
+
|
225
|
+
#endif
|
@@ -0,0 +1,790 @@
|
|
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 __AxisAlignedBox_H_
|
30
|
+
#define __AxisAlignedBox_H_
|
31
|
+
|
32
|
+
// Precompiler options
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
|
35
|
+
#include "OgreVector3.h"
|
36
|
+
#include "OgreMatrix4.h"
|
37
|
+
|
38
|
+
namespace Ogre {
|
39
|
+
|
40
|
+
/** A 3D box aligned with the x/y/z axes.
|
41
|
+
@remarks
|
42
|
+
This class represents a simple box which is aligned with the
|
43
|
+
axes. Internally it only stores 2 points as the extremeties of
|
44
|
+
the box, one which is the minima of all 3 axes, and the other
|
45
|
+
which is the maxima of all 3 axes. This class is typically used
|
46
|
+
for an axis-aligned bounding box (AABB) for collision and
|
47
|
+
visibility determination.
|
48
|
+
*/
|
49
|
+
class _OgreExport AxisAlignedBox
|
50
|
+
{
|
51
|
+
protected:
|
52
|
+
enum Extent
|
53
|
+
{
|
54
|
+
EXTENT_NULL,
|
55
|
+
EXTENT_FINITE,
|
56
|
+
EXTENT_INFINITE
|
57
|
+
};
|
58
|
+
|
59
|
+
Vector3 mMinimum;
|
60
|
+
Vector3 mMaximum;
|
61
|
+
Extent mExtent;
|
62
|
+
mutable Vector3* mpCorners;
|
63
|
+
|
64
|
+
public:
|
65
|
+
/*
|
66
|
+
1-----2
|
67
|
+
/| /|
|
68
|
+
/ | / |
|
69
|
+
5-----4 |
|
70
|
+
| 0--|--3
|
71
|
+
| / | /
|
72
|
+
|/ |/
|
73
|
+
6-----7
|
74
|
+
*/
|
75
|
+
typedef enum {
|
76
|
+
FAR_LEFT_BOTTOM = 0,
|
77
|
+
FAR_LEFT_TOP = 1,
|
78
|
+
FAR_RIGHT_TOP = 2,
|
79
|
+
FAR_RIGHT_BOTTOM = 3,
|
80
|
+
NEAR_RIGHT_BOTTOM = 7,
|
81
|
+
NEAR_LEFT_BOTTOM = 6,
|
82
|
+
NEAR_LEFT_TOP = 5,
|
83
|
+
NEAR_RIGHT_TOP = 4
|
84
|
+
} CornerEnum;
|
85
|
+
inline AxisAlignedBox() : mpCorners(0)
|
86
|
+
{
|
87
|
+
// Default to a null box
|
88
|
+
setMinimum( -0.5, -0.5, -0.5 );
|
89
|
+
setMaximum( 0.5, 0.5, 0.5 );
|
90
|
+
mExtent = EXTENT_NULL;
|
91
|
+
}
|
92
|
+
|
93
|
+
inline AxisAlignedBox(const AxisAlignedBox & rkBox) : mpCorners(0)
|
94
|
+
{
|
95
|
+
if (rkBox.isNull())
|
96
|
+
setNull();
|
97
|
+
else if (rkBox.isInfinite())
|
98
|
+
setInfinite();
|
99
|
+
else
|
100
|
+
setExtents( rkBox.mMinimum, rkBox.mMaximum );
|
101
|
+
}
|
102
|
+
|
103
|
+
inline AxisAlignedBox( const Vector3& min, const Vector3& max ) : mpCorners(0)
|
104
|
+
{
|
105
|
+
setExtents( min, max );
|
106
|
+
}
|
107
|
+
|
108
|
+
inline AxisAlignedBox(
|
109
|
+
Real mx, Real my, Real mz,
|
110
|
+
Real Mx, Real My, Real Mz ) : mpCorners(0)
|
111
|
+
{
|
112
|
+
setExtents( mx, my, mz, Mx, My, Mz );
|
113
|
+
}
|
114
|
+
|
115
|
+
AxisAlignedBox& operator=(const AxisAlignedBox& rhs)
|
116
|
+
{
|
117
|
+
// Specifically override to avoid copying mpCorners
|
118
|
+
if (rhs.isNull())
|
119
|
+
setNull();
|
120
|
+
else if (rhs.isInfinite())
|
121
|
+
setInfinite();
|
122
|
+
else
|
123
|
+
setExtents(rhs.mMinimum, rhs.mMaximum);
|
124
|
+
|
125
|
+
return *this;
|
126
|
+
}
|
127
|
+
|
128
|
+
~AxisAlignedBox()
|
129
|
+
{
|
130
|
+
if (mpCorners)
|
131
|
+
delete [] mpCorners;
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
/** Gets the minimum corner of the box.
|
136
|
+
*/
|
137
|
+
inline const Vector3& getMinimum(void) const
|
138
|
+
{
|
139
|
+
return mMinimum;
|
140
|
+
}
|
141
|
+
|
142
|
+
/** Gets a modifiable version of the minimum
|
143
|
+
corner of the box.
|
144
|
+
*/
|
145
|
+
inline Vector3& getMinimum(void)
|
146
|
+
{
|
147
|
+
return mMinimum;
|
148
|
+
}
|
149
|
+
|
150
|
+
/** Gets the maximum corner of the box.
|
151
|
+
*/
|
152
|
+
inline const Vector3& getMaximum(void) const
|
153
|
+
{
|
154
|
+
return mMaximum;
|
155
|
+
}
|
156
|
+
|
157
|
+
/** Gets a modifiable version of the maximum
|
158
|
+
corner of the box.
|
159
|
+
*/
|
160
|
+
inline Vector3& getMaximum(void)
|
161
|
+
{
|
162
|
+
return mMaximum;
|
163
|
+
}
|
164
|
+
|
165
|
+
|
166
|
+
/** Sets the minimum corner of the box.
|
167
|
+
*/
|
168
|
+
inline void setMinimum( const Vector3& vec )
|
169
|
+
{
|
170
|
+
mExtent = EXTENT_FINITE;
|
171
|
+
mMinimum = vec;
|
172
|
+
}
|
173
|
+
|
174
|
+
inline void setMinimum( Real x, Real y, Real z )
|
175
|
+
{
|
176
|
+
mExtent = EXTENT_FINITE;
|
177
|
+
mMinimum.x = x;
|
178
|
+
mMinimum.y = y;
|
179
|
+
mMinimum.z = z;
|
180
|
+
}
|
181
|
+
|
182
|
+
/** Changes one of the components of the minimum corner of the box
|
183
|
+
used to resize only one dimension of the box
|
184
|
+
*/
|
185
|
+
inline void setMinimumX(Real x)
|
186
|
+
{
|
187
|
+
mMinimum.x = x;
|
188
|
+
}
|
189
|
+
|
190
|
+
inline void setMinimumY(Real y)
|
191
|
+
{
|
192
|
+
mMinimum.y = y;
|
193
|
+
}
|
194
|
+
|
195
|
+
inline void setMinimumZ(Real z)
|
196
|
+
{
|
197
|
+
mMinimum.z = z;
|
198
|
+
}
|
199
|
+
|
200
|
+
/** Sets the maximum corner of the box.
|
201
|
+
*/
|
202
|
+
inline void setMaximum( const Vector3& vec )
|
203
|
+
{
|
204
|
+
mExtent = EXTENT_FINITE;
|
205
|
+
mMaximum = vec;
|
206
|
+
}
|
207
|
+
|
208
|
+
inline void setMaximum( Real x, Real y, Real z )
|
209
|
+
{
|
210
|
+
mExtent = EXTENT_FINITE;
|
211
|
+
mMaximum.x = x;
|
212
|
+
mMaximum.y = y;
|
213
|
+
mMaximum.z = z;
|
214
|
+
}
|
215
|
+
|
216
|
+
/** Changes one of the components of the maximum corner of the box
|
217
|
+
used to resize only one dimension of the box
|
218
|
+
*/
|
219
|
+
inline void setMaximumX( Real x )
|
220
|
+
{
|
221
|
+
mMaximum.x = x;
|
222
|
+
}
|
223
|
+
|
224
|
+
inline void setMaximumY( Real y )
|
225
|
+
{
|
226
|
+
mMaximum.y = y;
|
227
|
+
}
|
228
|
+
|
229
|
+
inline void setMaximumZ( Real z )
|
230
|
+
{
|
231
|
+
mMaximum.z = z;
|
232
|
+
}
|
233
|
+
|
234
|
+
/** Sets both minimum and maximum extents at once.
|
235
|
+
*/
|
236
|
+
inline void setExtents( const Vector3& min, const Vector3& max )
|
237
|
+
{
|
238
|
+
assert( (min.x <= max.x && min.y <= max.y && min.z <= max.z) &&
|
239
|
+
"The minimum corner of the box must be less than or equal to maximum corner" );
|
240
|
+
|
241
|
+
mExtent = EXTENT_FINITE;
|
242
|
+
mMinimum = min;
|
243
|
+
mMaximum = max;
|
244
|
+
}
|
245
|
+
|
246
|
+
inline void setExtents(
|
247
|
+
Real mx, Real my, Real mz,
|
248
|
+
Real Mx, Real My, Real Mz )
|
249
|
+
{
|
250
|
+
assert( (mx <= Mx && my <= My && mz <= Mz) &&
|
251
|
+
"The minimum corner of the box must be less than or equal to maximum corner" );
|
252
|
+
|
253
|
+
mExtent = EXTENT_FINITE;
|
254
|
+
|
255
|
+
mMinimum.x = mx;
|
256
|
+
mMinimum.y = my;
|
257
|
+
mMinimum.z = mz;
|
258
|
+
|
259
|
+
mMaximum.x = Mx;
|
260
|
+
mMaximum.y = My;
|
261
|
+
mMaximum.z = Mz;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
/** Returns a pointer to an array of 8 corner points, useful for
|
266
|
+
collision vs. non-aligned objects.
|
267
|
+
@remarks
|
268
|
+
If the order of these corners is important, they are as
|
269
|
+
follows: The 4 points of the minimum Z face (note that
|
270
|
+
because Ogre uses right-handed coordinates, the minimum Z is
|
271
|
+
at the 'back' of the box) starting with the minimum point of
|
272
|
+
all, then anticlockwise around this face (if you are looking
|
273
|
+
onto the face from outside the box). Then the 4 points of the
|
274
|
+
maximum Z face, starting with maximum point of all, then
|
275
|
+
anticlockwise around this face (looking onto the face from
|
276
|
+
outside the box). Like this:
|
277
|
+
<pre>
|
278
|
+
1-----2
|
279
|
+
/| /|
|
280
|
+
/ | / |
|
281
|
+
5-----4 |
|
282
|
+
| 0--|--3
|
283
|
+
| / | /
|
284
|
+
|/ |/
|
285
|
+
6-----7
|
286
|
+
</pre>
|
287
|
+
@remarks as this implementation uses a static member, make sure to use your own copy !
|
288
|
+
*/
|
289
|
+
inline const Vector3* getAllCorners(void) const
|
290
|
+
{
|
291
|
+
assert( (mExtent == EXTENT_FINITE) && "Can't get corners of a null or infinite AAB" );
|
292
|
+
|
293
|
+
// The order of these items is, using right-handed co-ordinates:
|
294
|
+
// Minimum Z face, starting with Min(all), then anticlockwise
|
295
|
+
// around face (looking onto the face)
|
296
|
+
// Maximum Z face, starting with Max(all), then anticlockwise
|
297
|
+
// around face (looking onto the face)
|
298
|
+
// Only for optimization/compatibility.
|
299
|
+
if (!mpCorners)
|
300
|
+
mpCorners = new Vector3[8];
|
301
|
+
|
302
|
+
mpCorners[0] = mMinimum;
|
303
|
+
mpCorners[1].x = mMinimum.x; mpCorners[1].y = mMaximum.y; mpCorners[1].z = mMinimum.z;
|
304
|
+
mpCorners[2].x = mMaximum.x; mpCorners[2].y = mMaximum.y; mpCorners[2].z = mMinimum.z;
|
305
|
+
mpCorners[3].x = mMaximum.x; mpCorners[3].y = mMinimum.y; mpCorners[3].z = mMinimum.z;
|
306
|
+
|
307
|
+
mpCorners[4] = mMaximum;
|
308
|
+
mpCorners[5].x = mMinimum.x; mpCorners[5].y = mMaximum.y; mpCorners[5].z = mMaximum.z;
|
309
|
+
mpCorners[6].x = mMinimum.x; mpCorners[6].y = mMinimum.y; mpCorners[6].z = mMaximum.z;
|
310
|
+
mpCorners[7].x = mMaximum.x; mpCorners[7].y = mMinimum.y; mpCorners[7].z = mMaximum.z;
|
311
|
+
|
312
|
+
return mpCorners;
|
313
|
+
}
|
314
|
+
|
315
|
+
/** gets the position of one of the corners
|
316
|
+
*/
|
317
|
+
Vector3 getCorner(CornerEnum cornerToGet)
|
318
|
+
{
|
319
|
+
switch(cornerToGet)
|
320
|
+
{
|
321
|
+
case FAR_LEFT_BOTTOM:
|
322
|
+
return mMinimum;
|
323
|
+
case FAR_LEFT_TOP:
|
324
|
+
return Vector3(mMinimum.x, mMaximum.y, mMinimum.z);
|
325
|
+
case FAR_RIGHT_TOP:
|
326
|
+
return Vector3(mMaximum.x, mMaximum.y, mMinimum.z);
|
327
|
+
case FAR_RIGHT_BOTTOM:
|
328
|
+
return Vector3(mMaximum.x, mMinimum.y, mMinimum.z);
|
329
|
+
case NEAR_RIGHT_BOTTOM:
|
330
|
+
return Vector3(mMaximum.x, mMinimum.y, mMaximum.z);
|
331
|
+
case NEAR_LEFT_BOTTOM:
|
332
|
+
return Vector3(mMinimum.x, mMinimum.y, mMaximum.z);
|
333
|
+
case NEAR_LEFT_TOP:
|
334
|
+
return Vector3(mMinimum.x, mMaximum.y, mMaximum.z);
|
335
|
+
case NEAR_RIGHT_TOP:
|
336
|
+
return mMaximum;
|
337
|
+
default:
|
338
|
+
return Vector3();
|
339
|
+
}
|
340
|
+
}
|
341
|
+
|
342
|
+
_OgreExport friend std::ostream& operator<<( std::ostream& o, const AxisAlignedBox aab )
|
343
|
+
{
|
344
|
+
switch (aab.mExtent)
|
345
|
+
{
|
346
|
+
case EXTENT_NULL:
|
347
|
+
o << "AxisAlignedBox(null)";
|
348
|
+
return o;
|
349
|
+
|
350
|
+
case EXTENT_FINITE:
|
351
|
+
o << "AxisAlignedBox(min=" << aab.mMinimum << ", max=" << aab.mMaximum << ")";
|
352
|
+
return o;
|
353
|
+
|
354
|
+
case EXTENT_INFINITE:
|
355
|
+
o << "AxisAlignedBox(infinite)";
|
356
|
+
return o;
|
357
|
+
|
358
|
+
default: // shut up compiler
|
359
|
+
assert( false && "Never reached" );
|
360
|
+
return o;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
|
364
|
+
/** Merges the passed in box into the current box. The result is the
|
365
|
+
box which encompasses both.
|
366
|
+
*/
|
367
|
+
void merge( const AxisAlignedBox& rhs )
|
368
|
+
{
|
369
|
+
// Do nothing if rhs null, or this is infinite
|
370
|
+
if ((rhs.mExtent == EXTENT_NULL) || (mExtent == EXTENT_INFINITE))
|
371
|
+
{
|
372
|
+
return;
|
373
|
+
}
|
374
|
+
// Otherwise if rhs is infinite, make this infinite, too
|
375
|
+
else if (rhs.mExtent == EXTENT_INFINITE)
|
376
|
+
{
|
377
|
+
mExtent = EXTENT_INFINITE;
|
378
|
+
}
|
379
|
+
// Otherwise if current null, just take rhs
|
380
|
+
else if (mExtent == EXTENT_NULL)
|
381
|
+
{
|
382
|
+
setExtents(rhs.mMinimum, rhs.mMaximum);
|
383
|
+
}
|
384
|
+
// Otherwise merge
|
385
|
+
else
|
386
|
+
{
|
387
|
+
Vector3 min = mMinimum;
|
388
|
+
Vector3 max = mMaximum;
|
389
|
+
max.makeCeil(rhs.mMaximum);
|
390
|
+
min.makeFloor(rhs.mMinimum);
|
391
|
+
|
392
|
+
setExtents(min, max);
|
393
|
+
}
|
394
|
+
|
395
|
+
}
|
396
|
+
|
397
|
+
/** Extends the box to encompass the specified point (if needed).
|
398
|
+
*/
|
399
|
+
inline void merge( const Vector3& point )
|
400
|
+
{
|
401
|
+
switch (mExtent)
|
402
|
+
{
|
403
|
+
case EXTENT_NULL: // if null, use this point
|
404
|
+
setExtents(point, point);
|
405
|
+
return;
|
406
|
+
|
407
|
+
case EXTENT_FINITE:
|
408
|
+
mMaximum.makeCeil(point);
|
409
|
+
mMinimum.makeFloor(point);
|
410
|
+
return;
|
411
|
+
|
412
|
+
case EXTENT_INFINITE: // if infinite, makes no difference
|
413
|
+
return;
|
414
|
+
}
|
415
|
+
|
416
|
+
assert( false && "Never reached" );
|
417
|
+
}
|
418
|
+
|
419
|
+
/** Transforms the box according to the matrix supplied.
|
420
|
+
@remarks
|
421
|
+
By calling this method you get the axis-aligned box which
|
422
|
+
surrounds the transformed version of this box. Therefore each
|
423
|
+
corner of the box is transformed by the matrix, then the
|
424
|
+
extents are mapped back onto the axes to produce another
|
425
|
+
AABB. Useful when you have a local AABB for an object which
|
426
|
+
is then transformed.
|
427
|
+
*/
|
428
|
+
inline void transform( const Matrix4& matrix )
|
429
|
+
{
|
430
|
+
// Do nothing if current null or infinite
|
431
|
+
if( mExtent != EXTENT_FINITE )
|
432
|
+
return;
|
433
|
+
|
434
|
+
Vector3 oldMin, oldMax, currentCorner;
|
435
|
+
|
436
|
+
// Getting the old values so that we can use the existing merge method.
|
437
|
+
oldMin = mMinimum;
|
438
|
+
oldMax = mMaximum;
|
439
|
+
|
440
|
+
// We sequentially compute the corners in the following order :
|
441
|
+
// 0, 6, 5, 1, 2, 4 ,7 , 3
|
442
|
+
// This sequence allows us to only change one member at a time to get at all corners.
|
443
|
+
|
444
|
+
// For each one, we transform it using the matrix
|
445
|
+
// Which gives the resulting point and merge the resulting point.
|
446
|
+
|
447
|
+
// First corner
|
448
|
+
// min min min
|
449
|
+
currentCorner = oldMin;
|
450
|
+
merge( matrix * currentCorner );
|
451
|
+
|
452
|
+
// min,min,max
|
453
|
+
currentCorner.z = oldMax.z;
|
454
|
+
merge( matrix * currentCorner );
|
455
|
+
|
456
|
+
// min max max
|
457
|
+
currentCorner.y = oldMax.y;
|
458
|
+
merge( matrix * currentCorner );
|
459
|
+
|
460
|
+
// min max min
|
461
|
+
currentCorner.z = oldMin.z;
|
462
|
+
merge( matrix * currentCorner );
|
463
|
+
|
464
|
+
// max max min
|
465
|
+
currentCorner.x = oldMax.x;
|
466
|
+
merge( matrix * currentCorner );
|
467
|
+
|
468
|
+
// max max max
|
469
|
+
currentCorner.z = oldMax.z;
|
470
|
+
merge( matrix * currentCorner );
|
471
|
+
|
472
|
+
// max min max
|
473
|
+
currentCorner.y = oldMin.y;
|
474
|
+
merge( matrix * currentCorner );
|
475
|
+
|
476
|
+
// max min min
|
477
|
+
currentCorner.z = oldMin.z;
|
478
|
+
merge( matrix * currentCorner );
|
479
|
+
}
|
480
|
+
|
481
|
+
/** Transforms the box according to the affine matrix supplied.
|
482
|
+
@remarks
|
483
|
+
By calling this method you get the axis-aligned box which
|
484
|
+
surrounds the transformed version of this box. Therefore each
|
485
|
+
corner of the box is transformed by the matrix, then the
|
486
|
+
extents are mapped back onto the axes to produce another
|
487
|
+
AABB. Useful when you have a local AABB for an object which
|
488
|
+
is then transformed.
|
489
|
+
@note
|
490
|
+
The matrix must be an affine matrix. @see Matrix4::isAffine.
|
491
|
+
*/
|
492
|
+
void transformAffine(const Matrix4& m)
|
493
|
+
{
|
494
|
+
assert(m.isAffine());
|
495
|
+
|
496
|
+
// Do nothing if current null or infinite
|
497
|
+
if ( mExtent != EXTENT_FINITE )
|
498
|
+
return;
|
499
|
+
|
500
|
+
Vector3 centre = getCenter();
|
501
|
+
Vector3 halfSize = getHalfSize();
|
502
|
+
|
503
|
+
Vector3 newCentre = m.transformAffine(centre);
|
504
|
+
Vector3 newHalfSize(
|
505
|
+
Math::Abs(m[0][0]) * halfSize.x + Math::Abs(m[0][1]) * halfSize.y + Math::Abs(m[0][2]) * halfSize.z,
|
506
|
+
Math::Abs(m[1][0]) * halfSize.x + Math::Abs(m[1][1]) * halfSize.y + Math::Abs(m[1][2]) * halfSize.z,
|
507
|
+
Math::Abs(m[2][0]) * halfSize.x + Math::Abs(m[2][1]) * halfSize.y + Math::Abs(m[2][2]) * halfSize.z);
|
508
|
+
|
509
|
+
setExtents(newCentre - newHalfSize, newCentre + newHalfSize);
|
510
|
+
}
|
511
|
+
|
512
|
+
/** Sets the box to a 'null' value i.e. not a box.
|
513
|
+
*/
|
514
|
+
inline void setNull()
|
515
|
+
{
|
516
|
+
mExtent = EXTENT_NULL;
|
517
|
+
}
|
518
|
+
|
519
|
+
/** Returns true if the box is null i.e. empty.
|
520
|
+
*/
|
521
|
+
inline bool isNull(void) const
|
522
|
+
{
|
523
|
+
return (mExtent == EXTENT_NULL);
|
524
|
+
}
|
525
|
+
|
526
|
+
/** Returns true if the box is finite.
|
527
|
+
*/
|
528
|
+
bool isFinite(void) const
|
529
|
+
{
|
530
|
+
return (mExtent == EXTENT_FINITE);
|
531
|
+
}
|
532
|
+
|
533
|
+
/** Sets the box to 'infinite'
|
534
|
+
*/
|
535
|
+
inline void setInfinite()
|
536
|
+
{
|
537
|
+
mExtent = EXTENT_INFINITE;
|
538
|
+
}
|
539
|
+
|
540
|
+
/** Returns true if the box is infinite.
|
541
|
+
*/
|
542
|
+
bool isInfinite(void) const
|
543
|
+
{
|
544
|
+
return (mExtent == EXTENT_INFINITE);
|
545
|
+
}
|
546
|
+
|
547
|
+
/** Returns whether or not this box intersects another. */
|
548
|
+
inline bool intersects(const AxisAlignedBox& b2) const
|
549
|
+
{
|
550
|
+
// Early-fail for nulls
|
551
|
+
if (this->isNull() || b2.isNull())
|
552
|
+
return false;
|
553
|
+
|
554
|
+
// Early-success for infinites
|
555
|
+
if (this->isInfinite() || b2.isInfinite())
|
556
|
+
return true;
|
557
|
+
|
558
|
+
// Use up to 6 separating planes
|
559
|
+
if (mMaximum.x < b2.mMinimum.x)
|
560
|
+
return false;
|
561
|
+
if (mMaximum.y < b2.mMinimum.y)
|
562
|
+
return false;
|
563
|
+
if (mMaximum.z < b2.mMinimum.z)
|
564
|
+
return false;
|
565
|
+
|
566
|
+
if (mMinimum.x > b2.mMaximum.x)
|
567
|
+
return false;
|
568
|
+
if (mMinimum.y > b2.mMaximum.y)
|
569
|
+
return false;
|
570
|
+
if (mMinimum.z > b2.mMaximum.z)
|
571
|
+
return false;
|
572
|
+
|
573
|
+
// otherwise, must be intersecting
|
574
|
+
return true;
|
575
|
+
|
576
|
+
}
|
577
|
+
|
578
|
+
/// Calculate the area of intersection of this box and another
|
579
|
+
inline AxisAlignedBox intersection(const AxisAlignedBox& b2) const
|
580
|
+
{
|
581
|
+
if (this->isNull() || b2.isNull())
|
582
|
+
{
|
583
|
+
return AxisAlignedBox();
|
584
|
+
}
|
585
|
+
else if (this->isInfinite())
|
586
|
+
{
|
587
|
+
return b2;
|
588
|
+
}
|
589
|
+
else if (b2.isInfinite())
|
590
|
+
{
|
591
|
+
return *this;
|
592
|
+
}
|
593
|
+
|
594
|
+
Vector3 intMin = mMinimum;
|
595
|
+
Vector3 intMax = mMaximum;
|
596
|
+
|
597
|
+
intMin.makeCeil(b2.getMinimum());
|
598
|
+
intMax.makeFloor(b2.getMaximum());
|
599
|
+
|
600
|
+
// Check intersection isn't null
|
601
|
+
if (intMin.x < intMax.x &&
|
602
|
+
intMin.y < intMax.y &&
|
603
|
+
intMin.z < intMax.z)
|
604
|
+
{
|
605
|
+
return AxisAlignedBox(intMin, intMax);
|
606
|
+
}
|
607
|
+
|
608
|
+
return AxisAlignedBox();
|
609
|
+
}
|
610
|
+
|
611
|
+
/// Calculate the volume of this box
|
612
|
+
Real volume(void) const
|
613
|
+
{
|
614
|
+
switch (mExtent)
|
615
|
+
{
|
616
|
+
case EXTENT_NULL:
|
617
|
+
return 0.0f;
|
618
|
+
|
619
|
+
case EXTENT_FINITE:
|
620
|
+
{
|
621
|
+
Vector3 diff = mMaximum - mMinimum;
|
622
|
+
return diff.x * diff.y * diff.z;
|
623
|
+
}
|
624
|
+
|
625
|
+
case EXTENT_INFINITE:
|
626
|
+
return Math::POS_INFINITY;
|
627
|
+
|
628
|
+
default: // shut up compiler
|
629
|
+
assert( false && "Never reached" );
|
630
|
+
return 0.0f;
|
631
|
+
}
|
632
|
+
}
|
633
|
+
|
634
|
+
/** Scales the AABB by the vector given. */
|
635
|
+
inline void scale(const Vector3& s)
|
636
|
+
{
|
637
|
+
// Do nothing if current null or infinite
|
638
|
+
if (mExtent != EXTENT_FINITE)
|
639
|
+
return;
|
640
|
+
|
641
|
+
// NB assumes centered on origin
|
642
|
+
Vector3 min = mMinimum * s;
|
643
|
+
Vector3 max = mMaximum * s;
|
644
|
+
setExtents(min, max);
|
645
|
+
}
|
646
|
+
|
647
|
+
/** Tests whether this box intersects a sphere. */
|
648
|
+
bool intersects(const Sphere& s) const
|
649
|
+
{
|
650
|
+
return Math::intersects(s, *this);
|
651
|
+
}
|
652
|
+
/** Tests whether this box intersects a plane. */
|
653
|
+
bool intersects(const Plane& p) const
|
654
|
+
{
|
655
|
+
return Math::intersects(p, *this);
|
656
|
+
}
|
657
|
+
/** Tests whether the vector point is within this box. */
|
658
|
+
bool intersects(const Vector3& v) const
|
659
|
+
{
|
660
|
+
switch (mExtent)
|
661
|
+
{
|
662
|
+
case EXTENT_NULL:
|
663
|
+
return false;
|
664
|
+
|
665
|
+
case EXTENT_FINITE:
|
666
|
+
return(v.x >= mMinimum.x && v.x <= mMaximum.x &&
|
667
|
+
v.y >= mMinimum.y && v.y <= mMaximum.y &&
|
668
|
+
v.z >= mMinimum.z && v.z <= mMaximum.z);
|
669
|
+
|
670
|
+
case EXTENT_INFINITE:
|
671
|
+
return true;
|
672
|
+
|
673
|
+
default: // shut up compiler
|
674
|
+
assert( false && "Never reached" );
|
675
|
+
return false;
|
676
|
+
}
|
677
|
+
}
|
678
|
+
/// Gets the centre of the box
|
679
|
+
Vector3 getCenter(void) const
|
680
|
+
{
|
681
|
+
assert( (mExtent == EXTENT_FINITE) && "Can't get center of a null or infinite AAB" );
|
682
|
+
|
683
|
+
return Vector3(
|
684
|
+
(mMaximum.x + mMinimum.x) * 0.5,
|
685
|
+
(mMaximum.y + mMinimum.y) * 0.5,
|
686
|
+
(mMaximum.z + mMinimum.z) * 0.5);
|
687
|
+
}
|
688
|
+
/// Gets the size of the box
|
689
|
+
Vector3 getSize(void) const
|
690
|
+
{
|
691
|
+
switch (mExtent)
|
692
|
+
{
|
693
|
+
case EXTENT_NULL:
|
694
|
+
return Vector3::ZERO;
|
695
|
+
|
696
|
+
case EXTENT_FINITE:
|
697
|
+
return mMaximum - mMinimum;
|
698
|
+
|
699
|
+
case EXTENT_INFINITE:
|
700
|
+
return Vector3(
|
701
|
+
Math::POS_INFINITY,
|
702
|
+
Math::POS_INFINITY,
|
703
|
+
Math::POS_INFINITY);
|
704
|
+
|
705
|
+
default: // shut up compiler
|
706
|
+
assert( false && "Never reached" );
|
707
|
+
return Vector3::ZERO;
|
708
|
+
}
|
709
|
+
}
|
710
|
+
/// Gets the half-size of the box
|
711
|
+
Vector3 getHalfSize(void) const
|
712
|
+
{
|
713
|
+
switch (mExtent)
|
714
|
+
{
|
715
|
+
case EXTENT_NULL:
|
716
|
+
return Vector3::ZERO;
|
717
|
+
|
718
|
+
case EXTENT_FINITE:
|
719
|
+
return (mMaximum - mMinimum) * 0.5;
|
720
|
+
|
721
|
+
case EXTENT_INFINITE:
|
722
|
+
return Vector3(
|
723
|
+
Math::POS_INFINITY,
|
724
|
+
Math::POS_INFINITY,
|
725
|
+
Math::POS_INFINITY);
|
726
|
+
|
727
|
+
default: // shut up compiler
|
728
|
+
assert( false && "Never reached" );
|
729
|
+
return Vector3::ZERO;
|
730
|
+
}
|
731
|
+
}
|
732
|
+
|
733
|
+
/** Tests whether the given point contained by this box.
|
734
|
+
*/
|
735
|
+
bool contains(const Vector3& v) const
|
736
|
+
{
|
737
|
+
if (isNull())
|
738
|
+
return false;
|
739
|
+
if (isInfinite())
|
740
|
+
return true;
|
741
|
+
|
742
|
+
return mMinimum.x <= v.x && v.x <= mMaximum.x &&
|
743
|
+
mMinimum.y <= v.y && v.y <= mMaximum.y &&
|
744
|
+
mMinimum.z <= v.z && v.z <= mMaximum.z;
|
745
|
+
}
|
746
|
+
|
747
|
+
/** Tests whether another box contained by this box.
|
748
|
+
*/
|
749
|
+
bool contains(const AxisAlignedBox& other) const
|
750
|
+
{
|
751
|
+
if (other.isNull() || this->isInfinite())
|
752
|
+
return true;
|
753
|
+
|
754
|
+
if (this->isNull() || other.isInfinite())
|
755
|
+
return false;
|
756
|
+
|
757
|
+
return this->mMinimum.x <= other.mMinimum.x &&
|
758
|
+
this->mMinimum.y <= other.mMinimum.y &&
|
759
|
+
this->mMinimum.z <= other.mMinimum.z &&
|
760
|
+
other.mMaximum.x <= this->mMaximum.x &&
|
761
|
+
other.mMaximum.y <= this->mMaximum.y &&
|
762
|
+
other.mMaximum.z <= this->mMaximum.z;
|
763
|
+
}
|
764
|
+
|
765
|
+
/** Tests 2 boxes for equality.
|
766
|
+
*/
|
767
|
+
bool operator== (const AxisAlignedBox& rhs) const
|
768
|
+
{
|
769
|
+
if (this->mExtent != rhs.mExtent)
|
770
|
+
return false;
|
771
|
+
|
772
|
+
if (!this->isFinite())
|
773
|
+
return true;
|
774
|
+
|
775
|
+
return this->mMinimum == rhs.mMinimum &&
|
776
|
+
this->mMaximum == rhs.mMaximum;
|
777
|
+
}
|
778
|
+
|
779
|
+
/** Tests 2 boxes for inequality.
|
780
|
+
*/
|
781
|
+
bool operator!= (const AxisAlignedBox& rhs) const
|
782
|
+
{
|
783
|
+
return !(*this == rhs);
|
784
|
+
}
|
785
|
+
|
786
|
+
};
|
787
|
+
|
788
|
+
} // namespace Ogre
|
789
|
+
|
790
|
+
#endif
|