131 lines
8.5 KiB
C
131 lines
8.5 KiB
C
|
|
//
|
||
|
|
// D:/FPSTemplate_5_4_or_5_5/Intermediate/Build/Win64/x64/FPSTemplateServer/Development/ChaosCloth/ChaosClothingSimulationSolver.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_FVector3f__
|
||
|
|
#define __ISPC_STRUCT_FVector3f__
|
||
|
|
struct FVector3f {
|
||
|
|
float V[3];
|
||
|
|
};
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#ifndef __ISPC_STRUCT_FVector4f__
|
||
|
|
#define __ISPC_STRUCT_FVector4f__
|
||
|
|
struct FVector4f {
|
||
|
|
struct float4 V;
|
||
|
|
};
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#ifndef __ISPC_STRUCT_FTransform3f__
|
||
|
|
#define __ISPC_STRUCT_FTransform3f__
|
||
|
|
struct FTransform3f {
|
||
|
|
struct FVector4f Rotation;
|
||
|
|
struct FVector4f Translation;
|
||
|
|
struct FVector4f Scale3D;
|
||
|
|
};
|
||
|
|
#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 ApplyAnimationPreSimulationTransform(struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const struct FVector3f * AnimationPositions, const struct FTransform3f &GroupSpaceTransform, const struct FVector3f &DeltaLocalSpaceLocation, const float DeltaTime, const int32_t NumParticles);
|
||
|
|
#else
|
||
|
|
extern void ApplyAnimationPreSimulationTransform(struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const struct FVector3f * AnimationPositions, const struct FTransform3f *GroupSpaceTransform, const struct FVector3f *DeltaLocalSpaceLocation, const float DeltaTime, const int32_t NumParticles);
|
||
|
|
#endif // ApplyAnimationPreSimulationTransform function declaraion
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern void ApplyPreSimulationTransform(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const struct FTransform3f &GroupSpaceTransform, const struct FVector3f &DeltaLocalSpaceLocation, const float DeltaTime, const int32_t NumParticles);
|
||
|
|
#else
|
||
|
|
extern void ApplyPreSimulationTransform(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const struct FTransform3f *GroupSpaceTransform, const struct FVector3f *DeltaLocalSpaceLocation, const float DeltaTime, const int32_t NumParticles);
|
||
|
|
#endif // ApplyPreSimulationTransform function declaraion
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern void ApplyPreSimulationTransformAndClampVelocity(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const struct FTransform3f &GroupSpaceTransform, const struct FVector3f &DeltaLocalSpaceLocation, const float DeltaTime, const int32_t NumParticles, const float MaxVelocitySquared);
|
||
|
|
#else
|
||
|
|
extern void ApplyPreSimulationTransformAndClampVelocity(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const struct FTransform3f *GroupSpaceTransform, const struct FVector3f *DeltaLocalSpaceLocation, const float DeltaTime, const int32_t NumParticles, const float MaxVelocitySquared);
|
||
|
|
#endif // ApplyPreSimulationTransformAndClampVelocity function declaraion
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern void ApplyPreSimulationTransforms(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const uint32_t * ParticleGroupIds, const struct FTransform3f * PreSimulationTransforms, const struct FVector3f &DeltaLocalSpaceLocation, const float DeltaTime, const int32_t Offset, const int32_t Range);
|
||
|
|
#else
|
||
|
|
extern void ApplyPreSimulationTransforms(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const uint32_t * ParticleGroupIds, const struct FTransform3f * PreSimulationTransforms, const struct FVector3f *DeltaLocalSpaceLocation, const float DeltaTime, const int32_t Offset, const int32_t Range);
|
||
|
|
#endif // ApplyPreSimulationTransforms function declaraion
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern void ApplyPreSimulationTransformsAndClampVelocity(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const uint32_t * ParticleGroupIds, const struct FTransform3f * PreSimulationTransforms, const struct FVector3f &DeltaLocalSpaceLocation, const float DeltaTime, const int32_t Offset, const int32_t Range, const float MaxVelocitySquared);
|
||
|
|
#else
|
||
|
|
extern void ApplyPreSimulationTransformsAndClampVelocity(struct FVector4f * ParticlesPandInvM, struct FVector3f * ParticlesV, struct FVector3f * ParticlesX, struct FVector3f * OldAnimationPositions, struct FVector3f * AnimationVelocities, const float * InvM, const struct FVector3f * AnimationPositions, const uint32_t * ParticleGroupIds, const struct FTransform3f * PreSimulationTransforms, const struct FVector3f *DeltaLocalSpaceLocation, const float DeltaTime, const int32_t Offset, const int32_t Range, const float MaxVelocitySquared);
|
||
|
|
#endif // ApplyPreSimulationTransformsAndClampVelocity function declaraion
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern void CalculateBounds(struct FVector3f &MMin, struct FVector3f &MMax, const struct FVector3f * ParticlesX, const int32_t Offset, const int32_t Range);
|
||
|
|
#else
|
||
|
|
extern void CalculateBounds(struct FVector3f *MMin, struct FVector3f *MMax, const struct FVector3f * ParticlesX, const int32_t Offset, const int32_t Range);
|
||
|
|
#endif // CalculateBounds function declaraion
|
||
|
|
#if defined(__cplusplus)
|
||
|
|
extern void CalculateSquaredRadius(float &SquaredRadius, const struct FVector3f &Center, const struct FVector3f * ParticlesX, const int32_t Offset, const int32_t Range);
|
||
|
|
#else
|
||
|
|
extern void CalculateSquaredRadius(float *SquaredRadius, const struct FVector3f *Center, const struct FVector3f * ParticlesX, const int32_t Offset, const int32_t Range);
|
||
|
|
#endif // CalculateSquaredRadius function declaraion
|
||
|
|
extern void PreSubstepInterpolation(struct FVector3f * InterpolatedPositions, struct FVector3f * InterpolatedNormals, const struct FVector3f * AnimationPositions, const struct FVector3f * OldAnimationPositions, const struct FVector3f * AnimationNormals, const struct FVector3f * OldAnimationNormals, const float InterpolationAlpha, const int32_t Offset, const int32_t Range);
|
||
|
|
#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
|