Changeset 8351 for code/trunk/src/libraries/tools
- Timestamp:
- Apr 28, 2011, 7:15:14 AM (14 years ago)
- Location:
- code/trunk/src/libraries/tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/tools/BulletConversions.h
r5781 r8351 43 43 struct ConverterExplicit<orxonox::Vector3, btVector3> 44 44 { 45 FORCEINLINE static bool convert(btVector3* output, const orxonox::Vector3& input)45 ORX_FORCEINLINE static bool convert(btVector3* output, const orxonox::Vector3& input) 46 46 { 47 47 output->setX(input.x); … … 56 56 struct ConverterExplicit<btVector3, orxonox::Vector3> 57 57 { 58 FORCEINLINE static bool convert(orxonox::Vector3* output, const btVector3& input)58 ORX_FORCEINLINE static bool convert(orxonox::Vector3* output, const btVector3& input) 59 59 { 60 60 output->x = input.x(); … … 69 69 struct ConverterExplicit<orxonox::Quaternion, btQuaternion> 70 70 { 71 FORCEINLINE static bool convert(btQuaternion* output, const orxonox::Quaternion& input)71 ORX_FORCEINLINE static bool convert(btQuaternion* output, const orxonox::Quaternion& input) 72 72 { 73 73 output->setW(input.w); … … 83 83 struct ConverterExplicit<btQuaternion, orxonox::Quaternion> 84 84 { 85 FORCEINLINE static bool convert(orxonox::Quaternion* output, const btQuaternion& input)85 ORX_FORCEINLINE static bool convert(orxonox::Quaternion* output, const btQuaternion& input) 86 86 { 87 87 output->w = input.w(); -
code/trunk/src/libraries/tools/CMakeLists.txt
r7172 r8351 21 21 FIND_HEADER_FILES 22 22 LINK_LIBRARIES 23 ${OGRE_LIBRARY} 24 ${Boost_FILESYSTEM_LIBRARY} 25 ${Boost_SYSTEM_LIBRARY} # Filesystem dependency 26 tinyxml_orxonox 27 util 23 28 core 24 SOURCE_FILES ${TOOLS_SRC_FILES} 29 SOURCE_FILES 30 ${TOOLS_SRC_FILES} 25 31 ) -
code/trunk/src/libraries/tools/Mesh.cc
r6417 r8351 69 69 this->entity_ = this->scenemanager_->createEntity("Mesh" + multi_cast<std::string>(Mesh::meshCounter_s++), meshsource); 70 70 this->entity_->setCastShadows(this->bCastShadows_); 71 72 #if OGRE_VERSION < 0x01060073 this->entity_->setNormaliseNormals(true);74 /*75 Excerpt from Ogre forum:76 "Note that the above is only for the fixed function pipeline.77 If/when you get into shaders, you'll need to manually normalize() the normal inside the vertex or pixel shader."78 79 I don't know exactly what this means, but I put this here if there will be problems with shaders.80 */81 #endif82 71 } 83 72 catch (...) -
code/trunk/src/libraries/tools/ResourceCollection.cc
r7401 r8351 45 45 46 46 // Default group is "General" 47 this->setResourceGroup(Resource:: DEFAULT_GROUP);47 this->setResourceGroup(Resource::getDefaultResourceGroup()); 48 48 } 49 49 -
code/trunk/src/libraries/tools/ToolsPrereqs.h
r8079 r8351 52 52 # endif 53 53 # endif 54 #elif defined ( ORXONOX_GCC_VISIBILITY ) 54 # define _ToolsPrivate 55 #elif defined (ORXONOX_GCC_VISIBILITY) 55 56 # define _ToolsExport __attribute__ ((visibility("default"))) 57 # define _ToolsPrivate __attribute__ ((visibility("hidden"))) 56 58 #else 57 59 # define _ToolsExport 60 # define _ToolsPrivate 58 61 #endif 59 62
Note: See TracChangeset
for help on using the changeset viewer.