Fix issue with sampler
This commit is contained in:
@@ -47,7 +47,7 @@ namespace OpenVulkano::AR
|
||||
|
||||
[[nodiscard]] Math::Vector4uc Sample(float nx, float ny, bool asRgb = true) const
|
||||
{
|
||||
return Sample(static_cast<uint32_t>(nx * luminescenceOrColor.resolution.x), static_cast<uint32_t>(nx * luminescenceOrColor.resolution.y), asRgb);
|
||||
return Sample(static_cast<uint32_t>(nx * luminescenceOrColor.resolution.x), static_cast<uint32_t>(ny * luminescenceOrColor.resolution.y), asRgb);
|
||||
}
|
||||
|
||||
[[nodiscard]] Math::Vector4uc Sample(uint32_t x, uint32_t y, bool asRgb = true) const
|
||||
|
||||
Reference in New Issue
Block a user