Files
stgsharp/源代码/StgShqrpGraphic/StgSharpGraphic.h
T

37 lines
915 B
C

#ifndef SSG
#define SSG
#define SSG_Api
#ifdef SSG_Api
#define SSGC_API __declspec(dllexport)
#else
#define SSGC_API __declspec(dllimport)
#endif
#include "GLenv/include/glad/glad.h"
#include "GLenv/include/GLFW/glfw3.h"
#include "SSGinternal.h"
SSGC_API glIOpackage loadGLApi(void);
SSGC_API void initGL(void);
SSGC_API int initGLAD(void);
SSGC_API __m128* __cdecl load(float x, float y, float z, float w);
SSGC_API __m128* __cdecl addps(__m128* ptr1, __m128* ptr2);
SSGC_API __m128* __cdecl subps(__m128* ptr1, __m128* ptr2);
SSGC_API __m128* __cdecl mulps_const(__m128* ptr, float value);
SSGC_API __m128* __cdecl mulps(__m128* ptr1, __m128* ptr2);
SSGC_API float __cdecl mulps_sum(__m128* ptr1, __m128* ptr2);
SSGC_API __m128* __cdecl divps_const(__m128* ptr, float value);
SSGC_API __m128* __cdecl divps(__m128* ptr1, __m128* ptr2);
SSGC_API void __cdecl deinitM128(__m128* ptr);
#endif // !SSG