diff options
Diffstat (limited to 'PxShared/src/foundation/include/PsVecMathAoSScalarInline.h')
| -rw-r--r-- | PxShared/src/foundation/include/PsVecMathAoSScalarInline.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/PxShared/src/foundation/include/PsVecMathAoSScalarInline.h b/PxShared/src/foundation/include/PsVecMathAoSScalarInline.h index f5dea7b5..855965eb 100644 --- a/PxShared/src/foundation/include/PsVecMathAoSScalarInline.h +++ b/PxShared/src/foundation/include/PsVecMathAoSScalarInline.h @@ -23,7 +23,7 @@ // components in life support devices or systems without express written approval of // NVIDIA Corporation. // -// Copyright (c) 2008-2017 NVIDIA Corporation. All rights reserved. +// Copyright (c) 2008-2018 NVIDIA Corporation. All rights reserved. // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. @@ -1054,6 +1054,11 @@ PX_FORCE_INLINE Vec4V V4PermYZXW(const Vec4V v) return Vec4V(v.y, v.z, v.x, v.w); } +PX_FORCE_INLINE Vec4V V4PermZWXY(const Vec4V a) +{ + return Vec4V(v.z, v.w, v.x, v.y); +} + template <PxU8 _x, PxU8 _y, PxU8 _z, PxU8 _w> PX_FORCE_INLINE Vec4V V4Perm(const Vec4V v) { |