open RectScope2s/us

This commit is contained in:
2023-06-06 20:50:58 +08:00
parent 03e66d7050
commit 97422170df

View File

@@ -149,8 +149,8 @@ namespace hgl
typedef RectScope2<float> RectScope2f; typedef RectScope2<float> RectScope2f;
typedef RectScope2<int> RectScope2i; typedef RectScope2<int> RectScope2i;
typedef RectScope2<uint> RectScope2ui; typedef RectScope2<uint> RectScope2ui;
// typedef RectScope2<short> RectScope2s; typedef RectScope2<short> RectScope2s;
// typedef RectScope2<ushort> RectScope2us; typedef RectScope2<ushort> RectScope2us;
template<typename T,typename S> template<typename T,typename S>
inline void UVFloatFromPixel(RectScope2<T> &target,const RectScope2<S> &source,const double width,const double height) inline void UVFloatFromPixel(RectScope2<T> &target,const RectScope2<S> &source,const double width,const double height)