diff options
Diffstat (limited to 'src/BulletSoftBody/btDeformableContactProjection.h')
-rw-r--r-- | src/BulletSoftBody/btDeformableContactProjection.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/BulletSoftBody/btDeformableContactProjection.h b/src/BulletSoftBody/btDeformableContactProjection.h index 9e61fed34..51ea92689 100644 --- a/src/BulletSoftBody/btDeformableContactProjection.h +++ b/src/BulletSoftBody/btDeformableContactProjection.h @@ -1,9 +1,15 @@ -// -// btDeformableContactProjection.h -// BulletSoftBody -// -// Created by Xuchen Han on 7/4/19. -// +/* + Bullet Continuous Collision Detection and Physics Library + Copyright (c) 2016 Google Inc. http://bulletphysics.org + This software is provided 'as-is', without any express or implied warranty. + In no event will the authors be held liable for any damages arising from the use of this software. + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it freely, + subject to the following restrictions: + 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + */ #ifndef BT_CONTACT_PROJECTION_H #define BT_CONTACT_PROJECTION_H @@ -15,9 +21,6 @@ class btDeformableContactProjection : public btCGProjection { public: -// std::unordered_map<btSoftBody::Node *, btAlignedObjectArray<DeformableContactConstraint> > m_constraints; -// std::unordered_map<btSoftBody::Node *, btAlignedObjectArray<DeformableFrictionConstraint> > m_frictions; - // map from node index to constraints btHashMap<btHashInt, btAlignedObjectArray<DeformableContactConstraint> > m_constraints; btHashMap<btHashInt, btAlignedObjectArray<DeformableFrictionConstraint> >m_frictions; |