151 lines
10 KiB
C++
151 lines
10 KiB
C++
//
|
|
// D:/FPSTemplate_5_4_or_5_5/Intermediate/Build/Win64/x64/FPSTemplateServer/Development/Chaos/XPBDEmbeddedSpringConstraints.ispc.generated.dummy.h
|
|
// (Header automatically generated by the ispc compiler.)
|
|
// DO NOT EDIT THIS FILE.
|
|
//
|
|
|
|
#pragma once
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#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_FIntVector6__
|
|
#define __ISPC_STRUCT_FIntVector6__
|
|
struct FIntVector6 {
|
|
int32_t V[6];
|
|
};
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FVector6f__
|
|
#define __ISPC_STRUCT_FVector6f__
|
|
struct FVector6f {
|
|
float V[6];
|
|
};
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FVector2f__
|
|
#define __ISPC_STRUCT_FVector2f__
|
|
struct FVector2f {
|
|
float V[2];
|
|
};
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FVector3f__
|
|
#define __ISPC_STRUCT_FVector3f__
|
|
struct FVector3f {
|
|
float V[3];
|
|
};
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FIntVector2__
|
|
#define __ISPC_STRUCT_FIntVector2__
|
|
struct FIntVector2 {
|
|
int32_t V[2];
|
|
};
|
|
#endif
|
|
|
|
#ifndef __ISPC_STRUCT_FIntVector4__
|
|
#define __ISPC_STRUCT_FIntVector4__
|
|
struct FIntVector4 {
|
|
int32_t V[4];
|
|
};
|
|
#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 ApplyXPBDEmbeddedFaceSpringConstraints(struct FVector4f * PandInvM, const struct FIntVector6 * Constraints, const struct FVector6f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f &ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f &CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDEmbeddedFaceSpringConstraints(struct FVector4f * PandInvM, const struct FIntVector6 * Constraints, const struct FVector6f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f *ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f *CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDEmbeddedFaceSpringConstraints function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDEmbeddedFaceSpringDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * XArray, const struct FIntVector6 * Constraints, const struct FVector6f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f &ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f &CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const bool bDampingHasMap, const struct FVector2f &DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDEmbeddedFaceSpringDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * XArray, const struct FIntVector6 * Constraints, const struct FVector6f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f *ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f *CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const bool bDampingHasMap, const struct FVector2f *DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDEmbeddedFaceSpringDampingConstraints function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDEmbeddedSpringConstraints(struct FVector4f * PandInvM, const struct FIntVector2 * Constraints, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f &ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f &CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDEmbeddedSpringConstraints(struct FVector4f * PandInvM, const struct FIntVector2 * Constraints, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f *ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f *CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDEmbeddedSpringConstraints function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDEmbeddedSpringDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * X, const struct FIntVector2 * Constraints, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f &ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f &CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const bool bDampingHasMap, const struct FVector2f &DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDEmbeddedSpringDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * X, const struct FIntVector2 * Constraints, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f *ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f *CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const bool bDampingHasMap, const struct FVector2f *DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDEmbeddedSpringDampingConstraints function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDEmbeddedVertexFaceSpringConstraints(struct FVector4f * PandInvM, const struct FIntVector4 * Constraints, const struct FVector4f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f &ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f &CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDEmbeddedVertexFaceSpringConstraints(struct FVector4f * PandInvM, const struct FIntVector4 * Constraints, const struct FVector4f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f *ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f *CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDEmbeddedVertexFaceSpringConstraints function declaraion
|
|
#if defined(__cplusplus)
|
|
extern void ApplyXPBDEmbeddedVertexFaceSpringDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * XArray, const struct FIntVector4 * Constraints, const struct FVector4f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f &ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f &CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const bool bDampingHasMap, const struct FVector2f &DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#else
|
|
extern void ApplyXPBDEmbeddedVertexFaceSpringDampingConstraints(struct FVector4f * PandInvM, const struct FVector3f * XArray, const struct FIntVector4 * Constraints, const struct FVector4f * Weights, const float * Dists, float * Lambdas, const float Dt, const bool bExtensionStiffnessHasMap, const struct FVector2f *ExtensionStiffnessOffsetRange, const float * ExtensionStiffnessMapValues, const bool bCompressionStiffnessHasMap, const struct FVector2f *CompressionStiffnessOffsetRange, const float * CompressionStiffnessMapValues, const bool bDampingHasMap, const struct FVector2f *DampingOffsetRange, const float * DampingMapValues, const int32_t NumConstraints);
|
|
#endif // ApplyXPBDEmbeddedVertexFaceSpringDampingConstraints function declaraion
|
|
#if defined(__cplusplus) && (! defined(__ISPC_NO_EXTERN_C) || !__ISPC_NO_EXTERN_C )
|
|
} /* end extern C */
|
|
#endif // __cplusplus
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* namespace */
|
|
#endif // __cplusplus
|