Re-implemented vec3 initializations based on new definition

This commit is contained in:
Martin committed 2024-12-30 12:09:12 +01:00
1 parent 32d0f3a0fb
commit 479c450fef
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -20,5 +20,5 @@ __device__ Vec3 computeGradient(float* volumeData, const int volW, const int vol
float gz = volumeData[zp * volW * volH + y * volW + x ]
- volumeData[zm * volW * volH + y * volW + x ];
return Vec3(gx, gy, gz);
return Vec3::init(gx, gy, gz);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.