116 lines
14 KiB
C++
116 lines
14 KiB
C++
//
|
|
// D:/FPSTemplate_5_4_or_5_5/Intermediate/Build/Win64/x64/FPSTemplateServer/Development/Chaos/XPBDAnisotropicBendingConstraints.ispc.generated.dummy_sse4.h
|
|
// (Header automatically generated by the ispc compiler.)
|
|
// DO NOT EDIT THIS FILE.
|
|
//
|
|
|
|
#pragma once
|
|
#include <stdint.h>
|
|
|
|
#if !defined(__cplusplus)
|
|
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
|
#include <stdbool.h>
|
|
#else
|
|
typedef int bool;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
namespace ispc { /* namespace */
|
|
#endif // __cplusplus
|
|
///////////////////////////////////////////////////////////////////////////
|
|
// Vector types with external visibility from ispc code
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __ISPC_VECTOR_float4__
|
|
#define __ISPC_VECTOR_float4__
|
|
#ifdef _MSC_VER
|
|
__declspec( align(16) ) struct float4 { float v[4]; };
|
|
#else
|
|
struct float4 { float v[4]; } __attribute__ ((aligned(16)));
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef __ISPC_ALIGN__
|
|
#if defined(__clang__) || !defined(_MSC_VER)
|
|
// Clang, GCC, ICC
|
|
#define __ISPC_ALIGN__(s) __attribute__((aligned(s)))
|
|
#define __ISPC_ALIGNED_STRUCT__(s) struct __ISPC_ALIGN__(s)
|
|
#else
|
|
// Visual Studio
|
|
#define __ISPC_ALIGN__(s) __declspec(align(s))
|
|
#define __ISPC_ALIGNED_STRUCT__(s) __ISPC_ALIGN__(s) struct
|
|
#endif
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FVector4f__
|
|
#define __ISPC_STRUCT_FVector4f__
|
|
struct FVector4f {
|
|
struct float4 V;
|
|
};
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FVector3f__
|
|
#define __ISPC_STRUCT_FVector3f__
|
|
struct FVector3f {
|
|
float V[3];
|
|
};
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FVector2f__
|
|
#define __ISPC_STRUCT_FVector2f__
|
|
struct FVector2f {
|
|
float V[2];
|
|
};
|
|
#endif
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
// Functions exported from ispc code
|
|
///////////////////////////////////////////////////////////////////////////
|
|
#if defined(__cplusplus) && (! defined(__ISPC_NO_EXTERN_C) || !__ISPC_NO_EXTERN_C )
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDAnisotropicBendingConstraints(struct FVector4f * PandInvM, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const struct FVector3f &Stiffness, const struct FVector3f &BucklingStiffness, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDAnisotropicBendingConstraints(struct FVector4f * PandInvM, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const struct FVector3f *Stiffness, const struct FVector3f *BucklingStiffness, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDAnisotropicBendingConstraints function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDAnisotropicBendingConstraintsWithDamping(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const struct FVector3f &Stiffness, const struct FVector3f &BucklingStiffness, const float DampingRatio, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDAnisotropicBendingConstraintsWithDamping(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const struct FVector3f *Stiffness, const struct FVector3f *BucklingStiffness, const float DampingRatio, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDAnisotropicBendingConstraintsWithDamping function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDAnisotropicBendingConstraintsWithDampingAndMaps(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const bool StiffnessHasMap, const struct FVector2f &StiffnessOffsetRange, const float * StiffnessMapValues, const bool StiffnessWeftHasMap, const struct FVector2f &StiffnessWeftOffsetRange, const float * StiffnessWeftMapValues, const bool StiffnessBiasHasMap, const struct FVector2f &StiffnessBiasOffsetRange, const float * StiffnessBiasMapValues, const bool BucklingStiffnessHasMap, const struct FVector2f &BucklingStiffnessOffsetRange, const float * BucklingStiffnessMapValues, const bool BucklingStiffnessWeftHasMap, const struct FVector2f &BucklingStiffnessWeftOffsetRange, const float * BucklingStiffnessWeftMapValues, const bool BucklingStiffnessBiasHasMap, const struct FVector2f &BucklingStiffnessBiasOffsetRange, const float * BucklingStiffnessBiasMapValues, const bool DampingHasMap, const struct FVector2f &DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDAnisotropicBendingConstraintsWithDampingAndMaps(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const bool StiffnessHasMap, const struct FVector2f *StiffnessOffsetRange, const float * StiffnessMapValues, const bool StiffnessWeftHasMap, const struct FVector2f *StiffnessWeftOffsetRange, const float * StiffnessWeftMapValues, const bool StiffnessBiasHasMap, const struct FVector2f *StiffnessBiasOffsetRange, const float * StiffnessBiasMapValues, const bool BucklingStiffnessHasMap, const struct FVector2f *BucklingStiffnessOffsetRange, const float * BucklingStiffnessMapValues, const bool BucklingStiffnessWeftHasMap, const struct FVector2f *BucklingStiffnessWeftOffsetRange, const float * BucklingStiffnessWeftMapValues, const bool BucklingStiffnessBiasHasMap, const struct FVector2f *BucklingStiffnessBiasOffsetRange, const float * BucklingStiffnessBiasMapValues, const bool DampingHasMap, const struct FVector2f *DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDAnisotropicBendingConstraintsWithDampingAndMaps function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDAnisotropicBendingConstraintsWithMaps(struct FVector4f * PandInvM, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const bool StiffnessHasMap, const struct FVector2f &StiffnessOffsetRange, const float * StiffnessMapValues, const bool StiffnessWeftHasMap, const struct FVector2f &StiffnessWeftOffsetRange, const float * StiffnessWeftMapValues, const bool StiffnessBiasHasMap, const struct FVector2f &StiffnessBiasOffsetRange, const float * StiffnessBiasMapValues, const bool BucklingStiffnessHasMap, const struct FVector2f &BucklingStiffnessOffsetRange, const float * BucklingStiffnessMapValues, const bool BucklingStiffnessWeftHasMap, const struct FVector2f &BucklingStiffnessWeftOffsetRange, const float * BucklingStiffnessWeftMapValues, const bool BucklingStiffnessBiasHasMap, const struct FVector2f &BucklingStiffnessBiasOffsetRange, const float * BucklingStiffnessBiasMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDAnisotropicBendingConstraintsWithMaps(struct FVector4f * PandInvM, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const bool StiffnessHasMap, const struct FVector2f *StiffnessOffsetRange, const float * StiffnessMapValues, const bool StiffnessWeftHasMap, const struct FVector2f *StiffnessWeftOffsetRange, const float * StiffnessWeftMapValues, const bool StiffnessBiasHasMap, const struct FVector2f *StiffnessBiasOffsetRange, const float * StiffnessBiasMapValues, const bool BucklingStiffnessHasMap, const struct FVector2f *BucklingStiffnessOffsetRange, const float * BucklingStiffnessMapValues, const bool BucklingStiffnessWeftHasMap, const struct FVector2f *BucklingStiffnessWeftOffsetRange, const float * BucklingStiffnessWeftMapValues, const bool BucklingStiffnessBiasHasMap, const struct FVector2f *BucklingStiffnessBiasOffsetRange, const float * BucklingStiffnessBiasMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDAnisotropicBendingConstraintsWithMaps function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDAnisotropicBendingDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const struct FVector3f &Stiffness, const struct FVector3f &BucklingStiffness, const float DampingRatio, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDAnisotropicBendingDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const struct FVector3f *Stiffness, const struct FVector3f *BucklingStiffness, const float DampingRatio, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDAnisotropicBendingDampingConstraints function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDAnisotropicBendingDampingConstraintsWithMaps(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const bool StiffnessHasMap, const struct FVector2f &StiffnessOffsetRange, const float * StiffnessMapValues, const bool StiffnessWeftHasMap, const struct FVector2f &StiffnessWeftOffsetRange, const float * StiffnessWeftMapValues, const bool StiffnessBiasHasMap, const struct FVector2f &StiffnessBiasOffsetRange, const float * StiffnessBiasMapValues, const bool BucklingStiffnessHasMap, const struct FVector2f &BucklingStiffnessOffsetRange, const float * BucklingStiffnessMapValues, const bool BucklingStiffnessWeftHasMap, const struct FVector2f &BucklingStiffnessWeftOffsetRange, const float * BucklingStiffnessWeftMapValues, const bool BucklingStiffnessBiasHasMap, const struct FVector2f &BucklingStiffnessBiasOffsetRange, const float * BucklingStiffnessBiasMapValues, const bool DampingHasMap, const struct FVector2f &DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDAnisotropicBendingDampingConstraintsWithMaps(struct FVector4f * PandInvM, const struct FVector3f * X1Array, const struct FVector3f * X2Array, const struct FVector3f * X3Array, const struct FVector3f * X4Array, const int32_t * ConstraintIndex1, const int32_t * ConstraintIndex2, const int32_t * ConstraintIndex3, const int32_t * ConstraintIndex4, const float * RestAngles, const bool * IsBuckled, const struct FVector3f * WarpWeftBiasBaseMultiplers, float * Lambdas, const float Dt, const bool StiffnessHasMap, const struct FVector2f *StiffnessOffsetRange, const float * StiffnessMapValues, const bool StiffnessWeftHasMap, const struct FVector2f *StiffnessWeftOffsetRange, const float * StiffnessWeftMapValues, const bool StiffnessBiasHasMap, const struct FVector2f *StiffnessBiasOffsetRange, const float * StiffnessBiasMapValues, const bool BucklingStiffnessHasMap, const struct FVector2f *BucklingStiffnessOffsetRange, const float * BucklingStiffnessMapValues, const bool BucklingStiffnessWeftHasMap, const struct FVector2f *BucklingStiffnessWeftOffsetRange, const float * BucklingStiffnessWeftMapValues, const bool BucklingStiffnessBiasHasMap, const struct FVector2f *BucklingStiffnessBiasOffsetRange, const float * BucklingStiffnessBiasMapValues, const bool DampingHasMap, const struct FVector2f *DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDAnisotropicBendingDampingConstraintsWithMaps function declaraion
|
|
#if defined(__cplusplus) && (! defined(__ISPC_NO_EXTERN_C) || !__ISPC_NO_EXTERN_C )
|
|
} /* end extern C */
|
|
#endif // __cplusplus
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* namespace */
|
|
#endif // __cplusplus
|