47 lines
1.3 KiB
C
47 lines
1.3 KiB
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"
|
|
#include <immintrin.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 load_cpy(__m128* ptr);
|
|
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 float __cdecl sqrtss_const(float a);
|
|
|
|
|
|
SSGC_API __m128* __cdecl set_m128ptr_default();
|
|
SSGC_API sse_matmap* __cdecl transpose_ssemat_2(sse_matmap* matPtr);
|
|
SSGC_API sse_matmap* __cdecl transpose_ssemat_3(sse_matmap* matPtr);
|
|
|
|
|
|
|
|
SSGC_API void __cdecl deinitM128(__m128* ptr);
|
|
SSGC_API void __cdecl deinit_matmap_sse(sse_matmap* mapptr);
|
|
#endif // !SSG
|
|
|