This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set_target_properties(json PROPERTIES VERSION ${PROJECT_VERSION} | |
| SOVERSION ${PROJECT_VERSION_MAJOR}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "test_common.h" | |
| void | |
| test_mat3(void **state) { | |
| mat3 m1 = {{1.0f, 0.0f, 0.0f}, {0.0f, 1.0f, 0.0f}, {0.0f, 0.0f, 1.0f}}; | |
| int i, j, k; | |
| for (i = 0; i < 3; i++) { | |
| for (j = 0; j < 3; j++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CGLM_INLINE | |
| void | |
| glm_mat4_inv_sse2(mat4 mat, mat4 dest) { | |
| __m128 r0, r1, r2, r3, | |
| v0, v1, v2, v3, | |
| t0, t1, t2, t3, t4, t5, | |
| x0, x1, x2, x3, x4, x5, x6, x7; | |
| /* 127 <- 0 */ | |
| r0 = glmm_load(mat[0]); /* d c b a */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CGLM_INLINE | |
| void | |
| glm_mat4_inv_avx(mat4 mat, mat4 dest) { | |
| __m256 y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13; | |
| __m256 yt0, yt1, yt2; | |
| __m256 t0, t1, t2; | |
| __m256 r1, r2; | |
| __m256 flpsign; | |
| __m256i yi1, yi2, yi3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| glm_mat4_mul_sse2: | |
| movaps xmm0, XMMWORD PTR [rsi] | |
| movaps xmm3, XMMWORD PTR [rdi] | |
| movaps xmm2, XMMWORD PTR [rdi+16] | |
| movaps xmm4, XMMWORD PTR [rdi+32] | |
| movaps xmm1, XMMWORD PTR [rdi+48] | |
| movaps xmm5, xmm0 | |
| movaps xmm7, xmm0 | |
| movaps xmm6, xmm0 | |
| shufps xmm5, xmm0, 255 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .section __TEXT,__text,regular,pure_instructions | |
| .macosx_version_min 10, 12 | |
| .file 1 "/Users/recp/Projects/recp/math/glm" "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/xmmintrin.h" | |
| .file 2 "/Users/recp/Projects/recp/math/glm" "/Users/recp/Projects/recp/math/glm/include/cglm/common.h" | |
| .file 3 "/Users/recp/Projects/recp/math/glm" "/Users/recp/Projects/recp/math/glm/include/cglm/simd/intrin.h" | |
| .file 4 "/Users/recp/Projects/recp/math/glm" "/Users/recp/Projects/recp/math/glm/include/cglm/util.h" | |
| .file 5 "/Users/recp/Projects/recp/math/glm" "/Users/recp/Projects/recp/math/glm/include/cglm/io.h" | |
| .file 6 "/Users/recp/Projects/recp/math/glm" "/Users/recp/Projects/recp/math/glm/test/src/test_main.c" | |
| .section __TEXT,__literal16,16byte_literals | |
| .p2align 4 ## -- Begin function main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CGLM_INLINE | |
| void | |
| glm_rotate_make_sse(mat4 m, float angle, vec3 axis) { | |
| __m128 x0, x1, x2, x3, x4, x5, x6, x7, x8; | |
| float c, s; | |
| c = cosf(angle); | |
| s = sinf(angle); | |
| x0 = glmm_load3(axis); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CGLM_INLINE | |
| void | |
| glm_mat4_quat_sse2(mat4 m, versor dest) { | |
| __m128 c0, c1, c2, x0, x1, x2, x3, m00, m11, m22, r; | |
| __m128 zero, one, half, ngone; | |
| c0 = _mm_load_ps(m[0]); | |
| c1 = _mm_load_ps(m[1]); | |
| c2 = _mm_load_ps(m[2]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <extra> | |
| <ext name="pbr"> | |
| <metallic_roughness> | |
| <metallic> | |
| <factor>FloatOrParam</factor> | |
| <bind_tex ref="texture-0" channel="G" /> | |
| </metallic> | |
| <roughness> | |
| <factor>FloatOrParam</factor> | |
| <bind_tex ref="texture-0" channel="B" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (c), Recep Aslantas. All rights reserved. | |
| */ | |
| #import <Cocoa/Cocoa.h> | |
| @protocol GLViewDelegate; | |
| @interface GLView : NSView { | |
| NSOpenGLContext * m_openGLContext; |
NewerOlder