fix warnings

This commit is contained in:
IlyaShurupov 2024-03-24 10:13:18 +03:00
parent 5d9e270aa9
commit 0fb9326c08
4 changed files with 39 additions and 46 deletions

View file

@ -19,7 +19,7 @@ namespace tp {
struct StrokePoint {
Vec3F pos = { 0, 0, 0 };
halnf thickness = NULL;
halnf thickness = 0;
};
struct StrokeGPUHandles {
@ -98,7 +98,7 @@ namespace tp {
~Project();
// pos from -1 to 1 (left ot right bottom to top)
void sample(halnf pressure, halnf cameraRatio, Vec2F relativeCameraPos);
void sample(halnf pressure, halnf cameraRatio, Vec2F relativeCameraPos);
public:
Buffer<Layer*> mLayers;