mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
add a type definition for SMID-style vectors
This commit is contained in:
5
src/util/vec.h
Normal file
5
src/util/vec.h
Normal file
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef int8_t i8vec2 __attribute__((vector_size(4)));
|
||||
Reference in New Issue
Block a user