mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-08 20:24:47 -04:00
BE<S16Vec> support
This commit is contained in:
@@ -160,6 +160,15 @@ inline f32 BE<f32>::swap(f32 val) {
|
||||
return RES_F32(val);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline S16Vec BE<S16Vec>::swap(S16Vec val) {
|
||||
return {
|
||||
BE<s16>::swap(val.x),
|
||||
BE<s16>::swap(val.y),
|
||||
BE<s16>::swap(val.z),
|
||||
};
|
||||
}
|
||||
|
||||
template<>
|
||||
struct BE<Vec> {
|
||||
BE<f32> x;
|
||||
|
||||
Reference in New Issue
Block a user