Open alekseyt opened 4 years ago
This is not a compile error, but another missing const
is here:
diff --git a/physx/source/lowleveldynamics/include/DyFeatherstoneArticulationUtils.h b/physx/source/lowleveldynamics/include/DyFeatherstoneArticulationUtils.h
index a2be3b09..39e3afd4 100644
--- a/physx/source/lowleveldynamics/include/DyFeatherstoneArticulationUtils.h
+++ b/physx/source/lowleveldynamics/include/DyFeatherstoneArticulationUtils.h
@@ -212,7 +212,7 @@ namespace Dy
return Cm::UnAlignedSpatialVector(top1, bottom1);
}
- PX_CUDA_CALLABLE PX_FORCE_INLINE void operator =(SpatialTransform& other)
+ PX_CUDA_CALLABLE PX_FORCE_INLINE void operator =(const SpatialTransform& other)
{
R = other.R;
q = other.q;
It probably would be beneficial to compile PhysX with GCC with -Wextra
flag and look into printed warnings.
This is too trivial for PR or signing CLA or whatever, it's just that
const
is missing.Patch: