Removes int initializer in SharedMemoryUserDataHashKey, changes '>>' into '> >' for nexted templates.
This commit is contained in:
@@ -1538,7 +1538,7 @@ struct PhysicsServerCommandProcessorInternalData
|
|||||||
b3ResizablePool< InternalBodyHandle > m_bodyHandles;
|
b3ResizablePool< InternalBodyHandle > m_bodyHandles;
|
||||||
b3ResizablePool<InternalCollisionShapeHandle> m_userCollisionShapeHandles;
|
b3ResizablePool<InternalCollisionShapeHandle> m_userCollisionShapeHandles;
|
||||||
b3ResizablePool<InternalVisualShapeHandle> m_userVisualShapeHandles;
|
b3ResizablePool<InternalVisualShapeHandle> m_userVisualShapeHandles;
|
||||||
b3ResizablePool<b3PoolBodyHandle<SharedMemoryUserData>> m_userDataHandles;
|
b3ResizablePool<b3PoolBodyHandle<SharedMemoryUserData> > m_userDataHandles;
|
||||||
btHashMap<SharedMemoryUserDataHashKey, int> m_userDataHandleLookup;
|
btHashMap<SharedMemoryUserDataHashKey, int> m_userDataHandleLookup;
|
||||||
|
|
||||||
b3PluginManager m_pluginManager;
|
b3PluginManager m_pluginManager;
|
||||||
|
|||||||
@@ -48,15 +48,14 @@ struct SharedMemoryUserData
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class SharedMemoryUserDataHashKey {
|
struct SharedMemoryUserDataHashKey {
|
||||||
unsigned int m_hash = 0;
|
unsigned int m_hash;
|
||||||
|
|
||||||
btHashString m_key;
|
btHashString m_key;
|
||||||
btHashInt m_bodyUniqueId;
|
btHashInt m_bodyUniqueId;
|
||||||
btHashInt m_linkIndex;
|
btHashInt m_linkIndex;
|
||||||
btHashInt m_visualShapeIndex;
|
btHashInt m_visualShapeIndex;
|
||||||
|
|
||||||
public:
|
|
||||||
SIMD_FORCE_INLINE unsigned int getHash()const {
|
SIMD_FORCE_INLINE unsigned int getHash()const {
|
||||||
return m_hash;
|
return m_hash;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user