mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-29 12:53:22 +02:00
Re-order variable initialization in CollisionRegion copy contructor
This commit is contained in:
parent
c6e6da2e3f
commit
6f6e70a470
1 changed files with 2 additions and 2 deletions
|
@ -270,10 +270,10 @@ public:
|
||||||
CollisionRegion() { }
|
CollisionRegion() { }
|
||||||
|
|
||||||
CollisionRegion(const CollisionRegion& collisionRegion) :
|
CollisionRegion(const CollisionRegion& collisionRegion) :
|
||||||
threshold(collisionRegion.threshold),
|
|
||||||
modelURL(collisionRegion.modelURL),
|
modelURL(collisionRegion.modelURL),
|
||||||
shapeInfo(std::make_shared<ShapeInfo>()),
|
shapeInfo(std::make_shared<ShapeInfo>()),
|
||||||
transform(collisionRegion.transform)
|
transform(collisionRegion.transform),
|
||||||
|
threshold(collisionRegion.threshold)
|
||||||
{
|
{
|
||||||
shapeInfo->setParams(collisionRegion.shapeInfo->getType(), collisionRegion.shapeInfo->getHalfExtents(), collisionRegion.modelURL.toString());
|
shapeInfo->setParams(collisionRegion.shapeInfo->getType(), collisionRegion.shapeInfo->getHalfExtents(), collisionRegion.modelURL.toString());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue