Fix Timestamp class NANOS_TO_SECONDS
This commit is contained in:
@@ -13,7 +13,7 @@ namespace openVulkanoCpp::Math
|
||||
class Timestamp final
|
||||
{
|
||||
static constexpr uint64_t SECONDS_TO_NANOS = 1'000'000'000ull;
|
||||
static constexpr double NANOS_TO_SECONDS = 1 / SECONDS_TO_NANOS;
|
||||
static constexpr double NANOS_TO_SECONDS = 1.0 / SECONDS_TO_NANOS;
|
||||
|
||||
uint64_t timestamp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user