mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
syntax error
This commit is contained in:
parent
9011718c09
commit
29741447cd
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Build C side with cmake
|
- name: Build C side with cmake
|
||||||
run: |
|
run: |
|
||||||
ls
|
ls
|
||||||
cmake . -DQUICKTEX_NOPYTHON
|
cmake . -DQUICKTEX_NOPYTHON=TRUE
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: Run C tests
|
- name: Run C tests
|
||||||
|
31
quicktex/test.cpp
Normal file
31
quicktex/test.cpp
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/* Quicktex Texture Compression Library
|
||||||
|
Copyright (C) 2021 Andrew Cassidy <drewcassidy@me.com>
|
||||||
|
Partially derived from rgbcx.h written by Richard Geldreich <richgel99@gmail.com>
|
||||||
|
and licenced under the public domain
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
#include <cstdint>
|
||||||
|
#include <xsimd/xsimd.hpp>
|
||||||
|
|
||||||
|
#include "Matrix.h"
|
||||||
|
|
||||||
|
// Type your code here, or load an example.
|
||||||
|
namespace quicktex {
|
||||||
|
auto test(Matrix<float, 4, 1> a, Matrix<float, 4, 1> b, Matrix<float, 4, 1> c) {
|
||||||
|
return a * 7;
|
||||||
|
};
|
||||||
|
} // namespace quicktex
|
Loading…
Reference in New Issue
Block a user