63 lines
2.0 KiB
C++
63 lines
2.0 KiB
C++
//
|
|
// D:/FPSTemplate_5_4_or_5_5/Intermediate/Build/Win64/x64/FPSTemplateServer/Development/Chaos/PerParticleDampVelocity.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
|
|
|
|
#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
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
// 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 UpdatePositionBasedState(struct FVector3f &MXcm, struct FVector3f &MVcm, struct FVector3f &MOmega, const struct FVector3f * X, const struct FVector3f * V, const float * M, const float * InvM, const int32_t Offset, const int32_t Range);
|
|
#else
|
|
extern void UpdatePositionBasedState(struct FVector3f *MXcm, struct FVector3f *MVcm, struct FVector3f *MOmega, const struct FVector3f * X, const struct FVector3f * V, const float * M, const float * InvM, const int32_t Offset, const int32_t Range);
|
|
#endif // UpdatePositionBasedState function declaraion
|
|
#if defined(__cplusplus) && (! defined(__ISPC_NO_EXTERN_C) || !__ISPC_NO_EXTERN_C )
|
|
} /* end extern C */
|
|
#endif // __cplusplus
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* namespace */
|
|
#endif // __cplusplus
|