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,278 @@
|
|
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 __MaterialSerializer_H__
|
30
|
+
#define __MaterialSerializer_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreMaterial.h"
|
34
|
+
#include "OgreBlendMode.h"
|
35
|
+
#include "OgreTextureUnitState.h"
|
36
|
+
#include "OgreGpuProgram.h"
|
37
|
+
#include "OgreStringVector.h"
|
38
|
+
|
39
|
+
namespace Ogre {
|
40
|
+
|
41
|
+
/** Enum to identify material sections. */
|
42
|
+
enum MaterialScriptSection
|
43
|
+
{
|
44
|
+
MSS_NONE,
|
45
|
+
MSS_MATERIAL,
|
46
|
+
MSS_TECHNIQUE,
|
47
|
+
MSS_PASS,
|
48
|
+
MSS_TEXTUREUNIT,
|
49
|
+
MSS_PROGRAM_REF,
|
50
|
+
MSS_PROGRAM,
|
51
|
+
MSS_DEFAULT_PARAMETERS,
|
52
|
+
MSS_TEXTURESOURCE
|
53
|
+
};
|
54
|
+
/** Struct for holding a program definition which is in progress. */
|
55
|
+
struct MaterialScriptProgramDefinition
|
56
|
+
{
|
57
|
+
String name;
|
58
|
+
GpuProgramType progType;
|
59
|
+
String language;
|
60
|
+
String source;
|
61
|
+
String syntax;
|
62
|
+
bool supportsSkeletalAnimation;
|
63
|
+
bool supportsMorphAnimation;
|
64
|
+
ushort supportsPoseAnimation; // number of simultaneous poses supported
|
65
|
+
bool usesVertexTextureFetch;
|
66
|
+
std::vector<std::pair<String, String> > customParameters;
|
67
|
+
};
|
68
|
+
/** Struct for holding the script context while parsing. */
|
69
|
+
struct MaterialScriptContext
|
70
|
+
{
|
71
|
+
MaterialScriptSection section;
|
72
|
+
String groupName;
|
73
|
+
MaterialPtr material;
|
74
|
+
Technique* technique;
|
75
|
+
Pass* pass;
|
76
|
+
TextureUnitState* textureUnit;
|
77
|
+
GpuProgramPtr program; // used when referencing a program, not when defining it
|
78
|
+
bool isProgramShadowCaster; // when referencing, are we in context of shadow caster
|
79
|
+
bool isVertexProgramShadowReceiver; // when referencing, are we in context of shadow caster
|
80
|
+
bool isFragmentProgramShadowReceiver; // when referencing, are we in context of shadow caster
|
81
|
+
GpuProgramParametersSharedPtr programParams;
|
82
|
+
ushort numAnimationParametrics;
|
83
|
+
MaterialScriptProgramDefinition* programDef; // this is used while defining a program
|
84
|
+
|
85
|
+
int techLev, //Keep track of what tech, pass, and state level we are in
|
86
|
+
passLev,
|
87
|
+
stateLev;
|
88
|
+
StringVector defaultParamLines;
|
89
|
+
|
90
|
+
// Error reporting state
|
91
|
+
size_t lineNo;
|
92
|
+
String filename;
|
93
|
+
AliasTextureNamePairList textureAliases;
|
94
|
+
};
|
95
|
+
/// Function def for material attribute parser; return value determines if the next line should be {
|
96
|
+
typedef bool (*ATTRIBUTE_PARSER)(String& params, MaterialScriptContext& context);
|
97
|
+
|
98
|
+
/** Class for serializing Materials to / from a .material script.*/
|
99
|
+
class _OgreExport MaterialSerializer
|
100
|
+
{
|
101
|
+
protected:
|
102
|
+
/// Keyword-mapped attribute parsers.
|
103
|
+
typedef std::map<String, ATTRIBUTE_PARSER> AttribParserList;
|
104
|
+
|
105
|
+
MaterialScriptContext mScriptContext;
|
106
|
+
|
107
|
+
/** internal method for parsing a material
|
108
|
+
@returns true if it expects the next line to be a {
|
109
|
+
*/
|
110
|
+
bool parseScriptLine(String& line);
|
111
|
+
/** internal method for finding & invoking an attribute parser. */
|
112
|
+
bool invokeParser(String& line, AttribParserList& parsers);
|
113
|
+
/** Internal method for saving a program definition which has been
|
114
|
+
built up.
|
115
|
+
*/
|
116
|
+
void finishProgramDefinition(void);
|
117
|
+
/// Parsers for the root of the material script
|
118
|
+
AttribParserList mRootAttribParsers;
|
119
|
+
/// Parsers for the material section of a script
|
120
|
+
AttribParserList mMaterialAttribParsers;
|
121
|
+
/// Parsers for the technique section of a script
|
122
|
+
AttribParserList mTechniqueAttribParsers;
|
123
|
+
/// Parsers for the pass section of a script
|
124
|
+
AttribParserList mPassAttribParsers;
|
125
|
+
/// Parsers for the texture unit section of a script
|
126
|
+
AttribParserList mTextureUnitAttribParsers;
|
127
|
+
/// Parsers for the program reference section of a script
|
128
|
+
AttribParserList mProgramRefAttribParsers;
|
129
|
+
/// Parsers for the program definition section of a script
|
130
|
+
AttribParserList mProgramAttribParsers;
|
131
|
+
/// Parsers for the program definition section of a script
|
132
|
+
AttribParserList mProgramDefaultParamAttribParsers;
|
133
|
+
|
134
|
+
void writeMaterial(const MaterialPtr& pMat);
|
135
|
+
void writeTechnique(const Technique* pTech);
|
136
|
+
void writePass(const Pass* pPass);
|
137
|
+
void writeVertexProgramRef(const Pass* pPass);
|
138
|
+
void writeShadowCasterVertexProgramRef(const Pass* pPass);
|
139
|
+
void writeShadowReceiverVertexProgramRef(const Pass* pPass);
|
140
|
+
void writeShadowReceiverFragmentProgramRef(const Pass* pPass);
|
141
|
+
void writeFragmentProgramRef(const Pass* pPass);
|
142
|
+
void writeGpuProgramRef(const String& attrib, const GpuProgramPtr& program, const GpuProgramParametersSharedPtr& params);
|
143
|
+
void writeGpuPrograms(void);
|
144
|
+
void writeGPUProgramParameters(const GpuProgramParametersSharedPtr& params, GpuProgramParameters* defaultParams,
|
145
|
+
const int level = 4, const bool useMainBuffer = true);
|
146
|
+
void writeNamedGpuProgramParameters(const GpuProgramParametersSharedPtr& params, GpuProgramParameters* defaultParams,
|
147
|
+
const int level = 4, const bool useMainBuffer = true);
|
148
|
+
void writeLowLevelGpuProgramParameters(const GpuProgramParametersSharedPtr& params, GpuProgramParameters* defaultParams,
|
149
|
+
const int level = 4, const bool useMainBuffer = true);
|
150
|
+
void writeGpuProgramParameter(
|
151
|
+
const String& commandName, const String& identifier,
|
152
|
+
const GpuProgramParameters::AutoConstantEntry* autoEntry,
|
153
|
+
const GpuProgramParameters::AutoConstantEntry* defaultAutoEntry,
|
154
|
+
bool isFloat, size_t physicalIndex, size_t physicalSize,
|
155
|
+
const GpuProgramParametersSharedPtr& params, GpuProgramParameters* defaultParams,
|
156
|
+
const int level, const bool useMainBuffer);
|
157
|
+
void writeTextureUnit(const TextureUnitState *pTex);
|
158
|
+
void writeSceneBlendFactor(const SceneBlendFactor sbf_src, const SceneBlendFactor sbf_dest);
|
159
|
+
void writeSceneBlendFactor(const SceneBlendFactor sbf);
|
160
|
+
void writeCompareFunction(const CompareFunction cf);
|
161
|
+
void writeColourValue(const ColourValue &colour, bool writeAlpha = false);
|
162
|
+
void writeLayerBlendOperationEx(const LayerBlendOperationEx op);
|
163
|
+
void writeLayerBlendSource(const LayerBlendSource lbs);
|
164
|
+
|
165
|
+
typedef std::multimap<TextureUnitState::TextureEffectType, TextureUnitState::TextureEffect> EffectMap;
|
166
|
+
|
167
|
+
void writeRotationEffect(const TextureUnitState::TextureEffect& effect, const TextureUnitState *pTex);
|
168
|
+
void writeTransformEffect(const TextureUnitState::TextureEffect& effect, const TextureUnitState *pTex);
|
169
|
+
void writeScrollEffect(const TextureUnitState::TextureEffect& effect, const TextureUnitState *pTex);
|
170
|
+
void writeEnvironmentMapEffect(const TextureUnitState::TextureEffect& effect, const TextureUnitState *pTex);
|
171
|
+
|
172
|
+
String convertFiltering(FilterOptions fo);
|
173
|
+
public:
|
174
|
+
/** default constructor*/
|
175
|
+
MaterialSerializer();
|
176
|
+
/** default destructor*/
|
177
|
+
virtual ~MaterialSerializer() {};
|
178
|
+
|
179
|
+
/** Queue an in-memory Material to the internal buffer for export.
|
180
|
+
@param pMat Material pointer
|
181
|
+
@param clearQueued If true, any materials already queued will be removed
|
182
|
+
@param exportDefaults If true, attributes which are defaulted will be
|
183
|
+
included in the script exported, otherwise they will be omitted
|
184
|
+
*/
|
185
|
+
void queueForExport(const MaterialPtr& pMat, bool clearQueued = false,
|
186
|
+
bool exportDefaults = false);
|
187
|
+
/** Exports queued material(s) to a named material script file.
|
188
|
+
@param filename the file name of the material script to be exported
|
189
|
+
@param includeProgDef If true, vertex program and fragment program
|
190
|
+
definitions will be written at the top of the material script
|
191
|
+
@param programFilename the file name of the vertex / fragment program
|
192
|
+
script to be exported. This is only used if there are program definitions
|
193
|
+
to be exported and includeProgDef is false
|
194
|
+
when calling queueForExport.
|
195
|
+
*/
|
196
|
+
void exportQueued(const String& filename, const bool includeProgDef = false, const String& programFilename = "");
|
197
|
+
/** Exports a single in-memory Material to the named material script file.
|
198
|
+
@param exportDefaults if true then exports all values including defaults
|
199
|
+
@param includeProgDef if true includes Gpu shader program definitions in the
|
200
|
+
export material script otherwise if false then program definitions will
|
201
|
+
be exported to a seperate file with name programFilename if
|
202
|
+
programFilename is not empty
|
203
|
+
@param programFilename the file name of the vertex / fragment program
|
204
|
+
script to be exported. This is only used if includeProgDef is false.
|
205
|
+
*/
|
206
|
+
void exportMaterial(const MaterialPtr& pMat, const String& filename, bool exportDefaults = false,
|
207
|
+
const bool includeProgDef = false, const String& programFilename = "");
|
208
|
+
/** Returns a string representing the parsed material(s) */
|
209
|
+
const String &getQueuedAsString() const;
|
210
|
+
/** Clears the internal buffer */
|
211
|
+
void clearQueue();
|
212
|
+
|
213
|
+
/** Parses a Material script file passed as a stream.
|
214
|
+
*/
|
215
|
+
void parseScript(DataStreamPtr& stream, const String& groupName);
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
private:
|
220
|
+
String mBuffer;
|
221
|
+
String mGpuProgramBuffer;
|
222
|
+
typedef std::set<String> GpuProgramDefinitionContainer;
|
223
|
+
typedef GpuProgramDefinitionContainer::iterator GpuProgramDefIterator;
|
224
|
+
GpuProgramDefinitionContainer mGpuProgramDefinitionContainer;
|
225
|
+
bool mDefaults;
|
226
|
+
|
227
|
+
void beginSection(unsigned short level, const bool useMainBuffer = true)
|
228
|
+
{
|
229
|
+
String& buffer = (useMainBuffer ? mBuffer : mGpuProgramBuffer);
|
230
|
+
buffer += "\n";
|
231
|
+
for (unsigned short i = 0; i < level; ++i)
|
232
|
+
{
|
233
|
+
buffer += "\t";
|
234
|
+
}
|
235
|
+
buffer += "{";
|
236
|
+
}
|
237
|
+
void endSection(unsigned short level, const bool useMainBuffer = true)
|
238
|
+
{
|
239
|
+
String& buffer = (useMainBuffer ? mBuffer : mGpuProgramBuffer);
|
240
|
+
buffer += "\n";
|
241
|
+
for (unsigned short i = 0; i < level; ++i)
|
242
|
+
{
|
243
|
+
buffer += "\t";
|
244
|
+
}
|
245
|
+
buffer += "}";
|
246
|
+
}
|
247
|
+
|
248
|
+
void writeAttribute(unsigned short level, const String& att, const bool useMainBuffer = true)
|
249
|
+
{
|
250
|
+
String& buffer = (useMainBuffer ? mBuffer : mGpuProgramBuffer);
|
251
|
+
buffer += "\n";
|
252
|
+
for (unsigned short i = 0; i < level; ++i)
|
253
|
+
{
|
254
|
+
buffer += "\t";
|
255
|
+
}
|
256
|
+
buffer += att;
|
257
|
+
}
|
258
|
+
|
259
|
+
void writeValue(const String& val, const bool useMainBuffer = true)
|
260
|
+
{
|
261
|
+
String& buffer = (useMainBuffer ? mBuffer : mGpuProgramBuffer);
|
262
|
+
buffer += (" " + val);
|
263
|
+
}
|
264
|
+
|
265
|
+
void writeComment(unsigned short level, const String& comment, const bool useMainBuffer = true)
|
266
|
+
{
|
267
|
+
String& buffer = (useMainBuffer ? mBuffer : mGpuProgramBuffer);
|
268
|
+
buffer += "\n";
|
269
|
+
for (unsigned short i = 0; i < level; ++i)
|
270
|
+
{
|
271
|
+
buffer += "\t";
|
272
|
+
}
|
273
|
+
buffer += "// " + comment;
|
274
|
+
}
|
275
|
+
|
276
|
+
};
|
277
|
+
}
|
278
|
+
#endif
|
@@ -0,0 +1,606 @@
|
|
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 __Math_H__
|
30
|
+
#define __Math_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
|
34
|
+
namespace Ogre
|
35
|
+
{
|
36
|
+
/** Wrapper class which indicates a given angle value is in Radians.
|
37
|
+
@remarks
|
38
|
+
Radian values are interchangeable with Degree values, and conversions
|
39
|
+
will be done automatically between them.
|
40
|
+
*/
|
41
|
+
class Radian
|
42
|
+
{
|
43
|
+
Real mRad;
|
44
|
+
|
45
|
+
public:
|
46
|
+
explicit Radian ( Real r=0 ) : mRad(r) {}
|
47
|
+
Radian ( const Degree& d );
|
48
|
+
Radian& operator = ( const Real& f ) { mRad = f; return *this; }
|
49
|
+
Radian& operator = ( const Radian& r ) { mRad = r.mRad; return *this; }
|
50
|
+
Radian& operator = ( const Degree& d );
|
51
|
+
|
52
|
+
Real valueDegrees() const; // see bottom of this file
|
53
|
+
Real valueRadians() const { return mRad; }
|
54
|
+
Real valueAngleUnits() const;
|
55
|
+
|
56
|
+
const Radian& operator + () const { return *this; }
|
57
|
+
Radian operator + ( const Radian& r ) const { return Radian ( mRad + r.mRad ); }
|
58
|
+
Radian operator + ( const Degree& d ) const;
|
59
|
+
Radian& operator += ( const Radian& r ) { mRad += r.mRad; return *this; }
|
60
|
+
Radian& operator += ( const Degree& d );
|
61
|
+
Radian operator - () const { return Radian(-mRad); }
|
62
|
+
Radian operator - ( const Radian& r ) const { return Radian ( mRad - r.mRad ); }
|
63
|
+
Radian operator - ( const Degree& d ) const;
|
64
|
+
Radian& operator -= ( const Radian& r ) { mRad -= r.mRad; return *this; }
|
65
|
+
Radian& operator -= ( const Degree& d );
|
66
|
+
Radian operator * ( Real f ) const { return Radian ( mRad * f ); }
|
67
|
+
Radian operator * ( const Radian& f ) const { return Radian ( mRad * f.mRad ); }
|
68
|
+
Radian& operator *= ( Real f ) { mRad *= f; return *this; }
|
69
|
+
Radian operator / ( Real f ) const { return Radian ( mRad / f ); }
|
70
|
+
Radian& operator /= ( Real f ) { mRad /= f; return *this; }
|
71
|
+
|
72
|
+
bool operator < ( const Radian& r ) const { return mRad < r.mRad; }
|
73
|
+
bool operator <= ( const Radian& r ) const { return mRad <= r.mRad; }
|
74
|
+
bool operator == ( const Radian& r ) const { return mRad == r.mRad; }
|
75
|
+
bool operator != ( const Radian& r ) const { return mRad != r.mRad; }
|
76
|
+
bool operator >= ( const Radian& r ) const { return mRad >= r.mRad; }
|
77
|
+
bool operator > ( const Radian& r ) const { return mRad > r.mRad; }
|
78
|
+
};
|
79
|
+
|
80
|
+
/** Wrapper class which indicates a given angle value is in Degrees.
|
81
|
+
@remarks
|
82
|
+
Degree values are interchangeable with Radian values, and conversions
|
83
|
+
will be done automatically between them.
|
84
|
+
*/
|
85
|
+
class Degree
|
86
|
+
{
|
87
|
+
Real mDeg; // if you get an error here - make sure to define/typedef 'Real' first
|
88
|
+
|
89
|
+
public:
|
90
|
+
explicit Degree ( Real d=0 ) : mDeg(d) {}
|
91
|
+
Degree ( const Radian& r ) : mDeg(r.valueDegrees()) {}
|
92
|
+
Degree& operator = ( const Real& f ) { mDeg = f; return *this; }
|
93
|
+
Degree& operator = ( const Degree& d ) { mDeg = d.mDeg; return *this; }
|
94
|
+
Degree& operator = ( const Radian& r ) { mDeg = r.valueDegrees(); return *this; }
|
95
|
+
|
96
|
+
Real valueDegrees() const { return mDeg; }
|
97
|
+
Real valueRadians() const; // see bottom of this file
|
98
|
+
Real valueAngleUnits() const;
|
99
|
+
|
100
|
+
const Degree& operator + () const { return *this; }
|
101
|
+
Degree operator + ( const Degree& d ) const { return Degree ( mDeg + d.mDeg ); }
|
102
|
+
Degree operator + ( const Radian& r ) const { return Degree ( mDeg + r.valueDegrees() ); }
|
103
|
+
Degree& operator += ( const Degree& d ) { mDeg += d.mDeg; return *this; }
|
104
|
+
Degree& operator += ( const Radian& r ) { mDeg += r.valueDegrees(); return *this; }
|
105
|
+
Degree operator - () const { return Degree(-mDeg); }
|
106
|
+
Degree operator - ( const Degree& d ) const { return Degree ( mDeg - d.mDeg ); }
|
107
|
+
Degree operator - ( const Radian& r ) const { return Degree ( mDeg - r.valueDegrees() ); }
|
108
|
+
Degree& operator -= ( const Degree& d ) { mDeg -= d.mDeg; return *this; }
|
109
|
+
Degree& operator -= ( const Radian& r ) { mDeg -= r.valueDegrees(); return *this; }
|
110
|
+
Degree operator * ( Real f ) const { return Degree ( mDeg * f ); }
|
111
|
+
Degree operator * ( const Degree& f ) const { return Degree ( mDeg * f.mDeg ); }
|
112
|
+
Degree& operator *= ( Real f ) { mDeg *= f; return *this; }
|
113
|
+
Degree operator / ( Real f ) const { return Degree ( mDeg / f ); }
|
114
|
+
Degree& operator /= ( Real f ) { mDeg /= f; return *this; }
|
115
|
+
|
116
|
+
bool operator < ( const Degree& d ) const { return mDeg < d.mDeg; }
|
117
|
+
bool operator <= ( const Degree& d ) const { return mDeg <= d.mDeg; }
|
118
|
+
bool operator == ( const Degree& d ) const { return mDeg == d.mDeg; }
|
119
|
+
bool operator != ( const Degree& d ) const { return mDeg != d.mDeg; }
|
120
|
+
bool operator >= ( const Degree& d ) const { return mDeg >= d.mDeg; }
|
121
|
+
bool operator > ( const Degree& d ) const { return mDeg > d.mDeg; }
|
122
|
+
};
|
123
|
+
|
124
|
+
/** Wrapper class which identifies a value as the currently default angle
|
125
|
+
type, as defined by Math::setAngleUnit.
|
126
|
+
@remarks
|
127
|
+
Angle values will be automatically converted between radians and degrees,
|
128
|
+
as appropriate.
|
129
|
+
*/
|
130
|
+
class Angle
|
131
|
+
{
|
132
|
+
Real mAngle;
|
133
|
+
public:
|
134
|
+
explicit Angle ( Real angle ) : mAngle(angle) {}
|
135
|
+
operator Radian() const;
|
136
|
+
operator Degree() const;
|
137
|
+
};
|
138
|
+
|
139
|
+
// these functions could not be defined within the class definition of class
|
140
|
+
// Radian because they required class Degree to be defined
|
141
|
+
inline Radian::Radian ( const Degree& d ) : mRad(d.valueRadians()) {
|
142
|
+
}
|
143
|
+
inline Radian& Radian::operator = ( const Degree& d ) {
|
144
|
+
mRad = d.valueRadians(); return *this;
|
145
|
+
}
|
146
|
+
inline Radian Radian::operator + ( const Degree& d ) const {
|
147
|
+
return Radian ( mRad + d.valueRadians() );
|
148
|
+
}
|
149
|
+
inline Radian& Radian::operator += ( const Degree& d ) {
|
150
|
+
mRad += d.valueRadians();
|
151
|
+
return *this;
|
152
|
+
}
|
153
|
+
inline Radian Radian::operator - ( const Degree& d ) const {
|
154
|
+
return Radian ( mRad - d.valueRadians() );
|
155
|
+
}
|
156
|
+
inline Radian& Radian::operator -= ( const Degree& d ) {
|
157
|
+
mRad -= d.valueRadians();
|
158
|
+
return *this;
|
159
|
+
}
|
160
|
+
|
161
|
+
/** Class to provide access to common mathematical functions.
|
162
|
+
@remarks
|
163
|
+
Most of the maths functions are aliased versions of the C runtime
|
164
|
+
library functions. They are aliased here to provide future
|
165
|
+
optimisation opportunities, either from faster RTLs or custom
|
166
|
+
math approximations.
|
167
|
+
@note
|
168
|
+
<br>This is based on MgcMath.h from
|
169
|
+
<a href="http://www.geometrictools.com/">Wild Magic</a>.
|
170
|
+
*/
|
171
|
+
class _OgreExport Math
|
172
|
+
{
|
173
|
+
public:
|
174
|
+
/** The angular units used by the API. This functionality is now deprecated in favor
|
175
|
+
of discreet angular unit types ( see Degree and Radian above ). The only place
|
176
|
+
this functionality is actually still used is when parsing files. Search for
|
177
|
+
usage of the Angle class for those instances
|
178
|
+
*/
|
179
|
+
enum AngleUnit
|
180
|
+
{
|
181
|
+
AU_DEGREE,
|
182
|
+
AU_RADIAN
|
183
|
+
};
|
184
|
+
|
185
|
+
protected:
|
186
|
+
// angle units used by the api
|
187
|
+
static AngleUnit msAngleUnit;
|
188
|
+
|
189
|
+
/// Size of the trig tables as determined by constructor.
|
190
|
+
static int mTrigTableSize;
|
191
|
+
|
192
|
+
/// Radian -> index factor value ( mTrigTableSize / 2 * PI )
|
193
|
+
static Real mTrigTableFactor;
|
194
|
+
static Real* mSinTable;
|
195
|
+
static Real* mTanTable;
|
196
|
+
|
197
|
+
/** Private function to build trig tables.
|
198
|
+
*/
|
199
|
+
void buildTrigTables();
|
200
|
+
|
201
|
+
static Real SinTable (Real fValue);
|
202
|
+
static Real TanTable (Real fValue);
|
203
|
+
public:
|
204
|
+
/** Default constructor.
|
205
|
+
@param
|
206
|
+
trigTableSize Optional parameter to set the size of the
|
207
|
+
tables used to implement Sin, Cos, Tan
|
208
|
+
*/
|
209
|
+
Math(unsigned int trigTableSize = 4096);
|
210
|
+
|
211
|
+
/** Default destructor.
|
212
|
+
*/
|
213
|
+
~Math();
|
214
|
+
|
215
|
+
static inline int IAbs (int iValue) { return ( iValue >= 0 ? iValue : -iValue ); }
|
216
|
+
static inline int ICeil (float fValue) { return int(ceil(fValue)); }
|
217
|
+
static inline int IFloor (float fValue) { return int(floor(fValue)); }
|
218
|
+
static int ISign (int iValue);
|
219
|
+
|
220
|
+
static inline Real Abs (Real fValue) { return Real(fabs(fValue)); }
|
221
|
+
static inline Degree Abs (const Degree& dValue) { return Degree(fabs(dValue.valueDegrees())); }
|
222
|
+
static inline Radian Abs (const Radian& rValue) { return Radian(fabs(rValue.valueRadians())); }
|
223
|
+
static Radian ACos (Real fValue);
|
224
|
+
static Radian ASin (Real fValue);
|
225
|
+
static inline Radian ATan (Real fValue) { return Radian(atan(fValue)); }
|
226
|
+
static inline Radian ATan2 (Real fY, Real fX) { return Radian(atan2(fY,fX)); }
|
227
|
+
static inline Real Ceil (Real fValue) { return Real(ceil(fValue)); }
|
228
|
+
|
229
|
+
/** Cosine function.
|
230
|
+
@param
|
231
|
+
fValue Angle in radians
|
232
|
+
@param
|
233
|
+
useTables If true, uses lookup tables rather than
|
234
|
+
calculation - faster but less accurate.
|
235
|
+
*/
|
236
|
+
static inline Real Cos (const Radian& fValue, bool useTables = false) {
|
237
|
+
return (!useTables) ? Real(cos(fValue.valueRadians())) : SinTable(fValue.valueRadians() + HALF_PI);
|
238
|
+
}
|
239
|
+
/** Cosine function.
|
240
|
+
@param
|
241
|
+
fValue Angle in radians
|
242
|
+
@param
|
243
|
+
useTables If true, uses lookup tables rather than
|
244
|
+
calculation - faster but less accurate.
|
245
|
+
*/
|
246
|
+
static inline Real Cos (Real fValue, bool useTables = false) {
|
247
|
+
return (!useTables) ? Real(cos(fValue)) : SinTable(fValue + HALF_PI);
|
248
|
+
}
|
249
|
+
|
250
|
+
static inline Real Exp (Real fValue) { return Real(exp(fValue)); }
|
251
|
+
|
252
|
+
static inline Real Floor (Real fValue) { return Real(floor(fValue)); }
|
253
|
+
|
254
|
+
static inline Real Log (Real fValue) { return Real(log(fValue)); }
|
255
|
+
|
256
|
+
static inline Real Pow (Real fBase, Real fExponent) { return Real(pow(fBase,fExponent)); }
|
257
|
+
|
258
|
+
static Real Sign (Real fValue);
|
259
|
+
static inline Radian Sign ( const Radian& rValue )
|
260
|
+
{
|
261
|
+
return Radian(Sign(rValue.valueRadians()));
|
262
|
+
}
|
263
|
+
static inline Degree Sign ( const Degree& dValue )
|
264
|
+
{
|
265
|
+
return Degree(Sign(dValue.valueDegrees()));
|
266
|
+
}
|
267
|
+
|
268
|
+
/** Sine function.
|
269
|
+
@param
|
270
|
+
fValue Angle in radians
|
271
|
+
@param
|
272
|
+
useTables If true, uses lookup tables rather than
|
273
|
+
calculation - faster but less accurate.
|
274
|
+
*/
|
275
|
+
static inline Real Sin (const Radian& fValue, bool useTables = false) {
|
276
|
+
return (!useTables) ? Real(sin(fValue.valueRadians())) : SinTable(fValue.valueRadians());
|
277
|
+
}
|
278
|
+
/** Sine function.
|
279
|
+
@param
|
280
|
+
fValue Angle in radians
|
281
|
+
@param
|
282
|
+
useTables If true, uses lookup tables rather than
|
283
|
+
calculation - faster but less accurate.
|
284
|
+
*/
|
285
|
+
static inline Real Sin (Real fValue, bool useTables = false) {
|
286
|
+
return (!useTables) ? Real(sin(fValue)) : SinTable(fValue);
|
287
|
+
}
|
288
|
+
|
289
|
+
static inline Real Sqr (Real fValue) { return fValue*fValue; }
|
290
|
+
|
291
|
+
static inline Real Sqrt (Real fValue) { return Real(sqrt(fValue)); }
|
292
|
+
|
293
|
+
static inline Radian Sqrt (const Radian& fValue) { return Radian(sqrt(fValue.valueRadians())); }
|
294
|
+
|
295
|
+
static inline Degree Sqrt (const Degree& fValue) { return Degree(sqrt(fValue.valueDegrees())); }
|
296
|
+
|
297
|
+
/** Inverse square root i.e. 1 / Sqrt(x), good for vector
|
298
|
+
normalisation.
|
299
|
+
*/
|
300
|
+
static Real InvSqrt(Real fValue);
|
301
|
+
|
302
|
+
static Real UnitRandom (); // in [0,1]
|
303
|
+
|
304
|
+
static Real RangeRandom (Real fLow, Real fHigh); // in [fLow,fHigh]
|
305
|
+
|
306
|
+
static Real SymmetricRandom (); // in [-1,1]
|
307
|
+
|
308
|
+
/** Tangent function.
|
309
|
+
@param
|
310
|
+
fValue Angle in radians
|
311
|
+
@param
|
312
|
+
useTables If true, uses lookup tables rather than
|
313
|
+
calculation - faster but less accurate.
|
314
|
+
*/
|
315
|
+
static inline Real Tan (const Radian& fValue, bool useTables = false) {
|
316
|
+
return (!useTables) ? Real(tan(fValue.valueRadians())) : TanTable(fValue.valueRadians());
|
317
|
+
}
|
318
|
+
/** Tangent function.
|
319
|
+
@param
|
320
|
+
fValue Angle in radians
|
321
|
+
@param
|
322
|
+
useTables If true, uses lookup tables rather than
|
323
|
+
calculation - faster but less accurate.
|
324
|
+
*/
|
325
|
+
static inline Real Tan (Real fValue, bool useTables = false) {
|
326
|
+
return (!useTables) ? Real(tan(fValue)) : TanTable(fValue);
|
327
|
+
}
|
328
|
+
|
329
|
+
static inline Real DegreesToRadians(Real degrees) { return degrees * fDeg2Rad; }
|
330
|
+
static inline Real RadiansToDegrees(Real radians) { return radians * fRad2Deg; }
|
331
|
+
|
332
|
+
/** These functions used to set the assumed angle units (radians or degrees)
|
333
|
+
expected when using the Angle type.
|
334
|
+
@par
|
335
|
+
You can set this directly after creating a new Root, and also before/after resource creation,
|
336
|
+
depending on whether you want the change to affect resource files.
|
337
|
+
*/
|
338
|
+
static void setAngleUnit(AngleUnit unit);
|
339
|
+
/** Get the unit being used for angles. */
|
340
|
+
static AngleUnit getAngleUnit(void);
|
341
|
+
|
342
|
+
/** Convert from the current AngleUnit to radians. */
|
343
|
+
static Real AngleUnitsToRadians(Real units);
|
344
|
+
/** Convert from radians to the current AngleUnit . */
|
345
|
+
static Real RadiansToAngleUnits(Real radians);
|
346
|
+
/** Convert from the current AngleUnit to degrees. */
|
347
|
+
static Real AngleUnitsToDegrees(Real units);
|
348
|
+
/** Convert from degrees to the current AngleUnit. */
|
349
|
+
static Real DegreesToAngleUnits(Real degrees);
|
350
|
+
|
351
|
+
/** Checks whether a given point is inside a triangle, in a
|
352
|
+
2-dimensional (Cartesian) space.
|
353
|
+
@remarks
|
354
|
+
The vertices of the triangle must be given in either
|
355
|
+
trigonometrical (anticlockwise) or inverse trigonometrical
|
356
|
+
(clockwise) order.
|
357
|
+
@param
|
358
|
+
p The point.
|
359
|
+
@param
|
360
|
+
a The triangle's first vertex.
|
361
|
+
@param
|
362
|
+
b The triangle's second vertex.
|
363
|
+
@param
|
364
|
+
c The triangle's third vertex.
|
365
|
+
@returns
|
366
|
+
If the point resides in the triangle, <b>true</b> is
|
367
|
+
returned.
|
368
|
+
@par
|
369
|
+
If the point is outside the triangle, <b>false</b> is
|
370
|
+
returned.
|
371
|
+
*/
|
372
|
+
static bool pointInTri2D(const Vector2& p, const Vector2& a,
|
373
|
+
const Vector2& b, const Vector2& c);
|
374
|
+
|
375
|
+
/** Checks whether a given 3D point is inside a triangle.
|
376
|
+
@remarks
|
377
|
+
The vertices of the triangle must be given in either
|
378
|
+
trigonometrical (anticlockwise) or inverse trigonometrical
|
379
|
+
(clockwise) order, and the point must be guaranteed to be in the
|
380
|
+
same plane as the triangle
|
381
|
+
@param
|
382
|
+
p The point.
|
383
|
+
@param
|
384
|
+
a The triangle's first vertex.
|
385
|
+
@param
|
386
|
+
b The triangle's second vertex.
|
387
|
+
@param
|
388
|
+
c The triangle's third vertex.
|
389
|
+
@param
|
390
|
+
normal The triangle plane's normal (passed in rather than calculated
|
391
|
+
on demand since the callermay already have it)
|
392
|
+
@returns
|
393
|
+
If the point resides in the triangle, <b>true</b> is
|
394
|
+
returned.
|
395
|
+
@par
|
396
|
+
If the point is outside the triangle, <b>false</b> is
|
397
|
+
returned.
|
398
|
+
*/
|
399
|
+
static bool pointInTri3D(const Vector3& p, const Vector3& a,
|
400
|
+
const Vector3& b, const Vector3& c, const Vector3& normal);
|
401
|
+
/** Ray / plane intersection, returns boolean result and distance. */
|
402
|
+
static std::pair<bool, Real> intersects(const Ray& ray, const Plane& plane);
|
403
|
+
|
404
|
+
/** Ray / sphere intersection, returns boolean result and distance. */
|
405
|
+
static std::pair<bool, Real> intersects(const Ray& ray, const Sphere& sphere,
|
406
|
+
bool discardInside = true);
|
407
|
+
|
408
|
+
/** Ray / box intersection, returns boolean result and distance. */
|
409
|
+
static std::pair<bool, Real> intersects(const Ray& ray, const AxisAlignedBox& box);
|
410
|
+
|
411
|
+
/** Ray / box intersection, returns boolean result and two intersection distance.
|
412
|
+
@param
|
413
|
+
ray The ray.
|
414
|
+
@param
|
415
|
+
box The box.
|
416
|
+
@param
|
417
|
+
d1 A real pointer to retrieve the near intersection distance
|
418
|
+
from the ray origin, maybe <b>null</b> which means don't care
|
419
|
+
about the near intersection distance.
|
420
|
+
@param
|
421
|
+
d2 A real pointer to retrieve the far intersection distance
|
422
|
+
from the ray origin, maybe <b>null</b> which means don't care
|
423
|
+
about the far intersection distance.
|
424
|
+
@returns
|
425
|
+
If the ray is intersects the box, <b>true</b> is returned, and
|
426
|
+
the near intersection distance is return by <i>d1</i>, the
|
427
|
+
far intersection distance is return by <i>d2</i>. Guarantee
|
428
|
+
<b>0</b> <= <i>d1</i> <= <i>d2</i>.
|
429
|
+
@par
|
430
|
+
If the ray isn't intersects the box, <b>false</b> is returned, and
|
431
|
+
<i>d1</i> and <i>d2</i> is unmodified.
|
432
|
+
*/
|
433
|
+
static bool intersects(const Ray& ray, const AxisAlignedBox& box,
|
434
|
+
Real* d1, Real* d2);
|
435
|
+
|
436
|
+
/** Ray / triangle intersection, returns boolean result and distance.
|
437
|
+
@param
|
438
|
+
ray The ray.
|
439
|
+
@param
|
440
|
+
a The triangle's first vertex.
|
441
|
+
@param
|
442
|
+
b The triangle's second vertex.
|
443
|
+
@param
|
444
|
+
c The triangle's third vertex.
|
445
|
+
@param
|
446
|
+
normal The triangle plane's normal (passed in rather than calculated
|
447
|
+
on demand since the callermay already have it), doesn't need
|
448
|
+
normalised since we don't care.
|
449
|
+
@param
|
450
|
+
positiveSide Intersect with "positive side" of the triangle
|
451
|
+
@param
|
452
|
+
negativeSide Intersect with "negative side" of the triangle
|
453
|
+
@returns
|
454
|
+
If the ray is intersects the triangle, a pair of <b>true</b> and the
|
455
|
+
distance between intersection point and ray origin returned.
|
456
|
+
@par
|
457
|
+
If the ray isn't intersects the triangle, a pair of <b>false</b> and
|
458
|
+
<b>0</b> returned.
|
459
|
+
*/
|
460
|
+
static std::pair<bool, Real> intersects(const Ray& ray, const Vector3& a,
|
461
|
+
const Vector3& b, const Vector3& c, const Vector3& normal,
|
462
|
+
bool positiveSide = true, bool negativeSide = true);
|
463
|
+
|
464
|
+
/** Ray / triangle intersection, returns boolean result and distance.
|
465
|
+
@param
|
466
|
+
ray The ray.
|
467
|
+
@param
|
468
|
+
a The triangle's first vertex.
|
469
|
+
@param
|
470
|
+
b The triangle's second vertex.
|
471
|
+
@param
|
472
|
+
c The triangle's third vertex.
|
473
|
+
@param
|
474
|
+
positiveSide Intersect with "positive side" of the triangle
|
475
|
+
@param
|
476
|
+
negativeSide Intersect with "negative side" of the triangle
|
477
|
+
@returns
|
478
|
+
If the ray is intersects the triangle, a pair of <b>true</b> and the
|
479
|
+
distance between intersection point and ray origin returned.
|
480
|
+
@par
|
481
|
+
If the ray isn't intersects the triangle, a pair of <b>false</b> and
|
482
|
+
<b>0</b> returned.
|
483
|
+
*/
|
484
|
+
static std::pair<bool, Real> intersects(const Ray& ray, const Vector3& a,
|
485
|
+
const Vector3& b, const Vector3& c,
|
486
|
+
bool positiveSide = true, bool negativeSide = true);
|
487
|
+
|
488
|
+
/** Sphere / box intersection test. */
|
489
|
+
static bool intersects(const Sphere& sphere, const AxisAlignedBox& box);
|
490
|
+
|
491
|
+
/** Plane / box intersection test. */
|
492
|
+
static bool intersects(const Plane& plane, const AxisAlignedBox& box);
|
493
|
+
|
494
|
+
/** Ray / convex plane list intersection test.
|
495
|
+
@param ray The ray to test with
|
496
|
+
@param plaeList List of planes which form a convex volume
|
497
|
+
@param normalIsOutside Does the normal point outside the volume
|
498
|
+
*/
|
499
|
+
static std::pair<bool, Real> intersects(
|
500
|
+
const Ray& ray, const std::vector<Plane>& planeList,
|
501
|
+
bool normalIsOutside);
|
502
|
+
/** Ray / convex plane list intersection test.
|
503
|
+
@param ray The ray to test with
|
504
|
+
@param plaeList List of planes which form a convex volume
|
505
|
+
@param normalIsOutside Does the normal point outside the volume
|
506
|
+
*/
|
507
|
+
static std::pair<bool, Real> intersects(
|
508
|
+
const Ray& ray, const std::list<Plane>& planeList,
|
509
|
+
bool normalIsOutside);
|
510
|
+
|
511
|
+
/** Sphere / plane intersection test.
|
512
|
+
@remarks NB just do a plane.getDistance(sphere.getCenter()) for more detail!
|
513
|
+
*/
|
514
|
+
static bool intersects(const Sphere& sphere, const Plane& plane);
|
515
|
+
|
516
|
+
/** Compare 2 reals, using tolerance for inaccuracies.
|
517
|
+
*/
|
518
|
+
static bool RealEqual(Real a, Real b,
|
519
|
+
Real tolerance = std::numeric_limits<Real>::epsilon());
|
520
|
+
|
521
|
+
/** Calculates the tangent space vector for a given set of positions / texture coords. */
|
522
|
+
static Vector3 calculateTangentSpaceVector(
|
523
|
+
const Vector3& position1, const Vector3& position2, const Vector3& position3,
|
524
|
+
Real u1, Real v1, Real u2, Real v2, Real u3, Real v3);
|
525
|
+
|
526
|
+
/** Build a reflection matrix for the passed in plane. */
|
527
|
+
static Matrix4 buildReflectionMatrix(const Plane& p);
|
528
|
+
/** Calculate a face normal, including the w component which is the offset from the origin. */
|
529
|
+
static Vector4 calculateFaceNormal(const Vector3& v1, const Vector3& v2, const Vector3& v3);
|
530
|
+
/** Calculate a face normal, no w-information. */
|
531
|
+
static Vector3 calculateBasicFaceNormal(const Vector3& v1, const Vector3& v2, const Vector3& v3);
|
532
|
+
/** Calculate a face normal without normalize, including the w component which is the offset from the origin. */
|
533
|
+
static Vector4 calculateFaceNormalWithoutNormalize(const Vector3& v1, const Vector3& v2, const Vector3& v3);
|
534
|
+
/** Calculate a face normal without normalize, no w-information. */
|
535
|
+
static Vector3 calculateBasicFaceNormalWithoutNormalize(const Vector3& v1, const Vector3& v2, const Vector3& v3);
|
536
|
+
|
537
|
+
/** Generates a value based on the gaussian (normal) distribution function
|
538
|
+
with the given offset and scale parameters.
|
539
|
+
*/
|
540
|
+
static Real gaussianDistribution(Real x, Real offset = 0.0f, Real scale = 1.0f);
|
541
|
+
|
542
|
+
static const Real POS_INFINITY;
|
543
|
+
static const Real NEG_INFINITY;
|
544
|
+
static const Real PI;
|
545
|
+
static const Real TWO_PI;
|
546
|
+
static const Real HALF_PI;
|
547
|
+
static const Real fDeg2Rad;
|
548
|
+
static const Real fRad2Deg;
|
549
|
+
|
550
|
+
};
|
551
|
+
|
552
|
+
// these functions must be defined down here, because they rely on the
|
553
|
+
// angle unit conversion functions in class Math:
|
554
|
+
|
555
|
+
inline Real Radian::valueDegrees() const
|
556
|
+
{
|
557
|
+
return Math::RadiansToDegrees ( mRad );
|
558
|
+
}
|
559
|
+
|
560
|
+
inline Real Radian::valueAngleUnits() const
|
561
|
+
{
|
562
|
+
return Math::RadiansToAngleUnits ( mRad );
|
563
|
+
}
|
564
|
+
|
565
|
+
inline Real Degree::valueRadians() const
|
566
|
+
{
|
567
|
+
return Math::DegreesToRadians ( mDeg );
|
568
|
+
}
|
569
|
+
|
570
|
+
inline Real Degree::valueAngleUnits() const
|
571
|
+
{
|
572
|
+
return Math::DegreesToAngleUnits ( mDeg );
|
573
|
+
}
|
574
|
+
|
575
|
+
inline Angle::operator Radian() const
|
576
|
+
{
|
577
|
+
return Radian(Math::AngleUnitsToRadians(mAngle));
|
578
|
+
}
|
579
|
+
|
580
|
+
inline Angle::operator Degree() const
|
581
|
+
{
|
582
|
+
return Degree(Math::AngleUnitsToDegrees(mAngle));
|
583
|
+
}
|
584
|
+
|
585
|
+
inline Radian operator * ( Real a, const Radian& b )
|
586
|
+
{
|
587
|
+
return Radian ( a * b.valueRadians() );
|
588
|
+
}
|
589
|
+
|
590
|
+
inline Radian operator / ( Real a, const Radian& b )
|
591
|
+
{
|
592
|
+
return Radian ( a / b.valueRadians() );
|
593
|
+
}
|
594
|
+
|
595
|
+
inline Degree operator * ( Real a, const Degree& b )
|
596
|
+
{
|
597
|
+
return Degree ( a * b.valueDegrees() );
|
598
|
+
}
|
599
|
+
|
600
|
+
inline Degree operator / ( Real a, const Degree& b )
|
601
|
+
{
|
602
|
+
return Degree ( a / b.valueDegrees() );
|
603
|
+
}
|
604
|
+
|
605
|
+
}
|
606
|
+
#endif
|