diff options
Diffstat (limited to 'PxShared/src/foundation/include/PsVecMath.h')
| -rw-r--r-- | PxShared/src/foundation/include/PsVecMath.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/PxShared/src/foundation/include/PsVecMath.h b/PxShared/src/foundation/include/PsVecMath.h index bf60c756..985e004f 100644 --- a/PxShared/src/foundation/include/PsVecMath.h +++ b/PxShared/src/foundation/include/PsVecMath.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. @@ -776,6 +776,8 @@ PX_FORCE_INLINE Vec4V V4PermXZXZ(const Vec4V v); PX_FORCE_INLINE Vec4V V4PermYWYW(const Vec4V v); // Permute v into a new vec4v with YZXW format PX_FORCE_INLINE Vec4V V4PermYZXW(const Vec4V v); +// Permute v into a new vec4v with ZWXY format - equivalent to a swap of the two 64bit parts of the vector +PX_FORCE_INLINE Vec4V V4PermZWXY(const Vec4V a); // Permute v into a new vec4v with format {a[x], a[y], a[z], a[w]} // V4Perm<1,3,1,3> is equal to V4PermYWYW |