mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
initial sprite batch implementation & testbed
This commit is contained in:
@ -22,3 +22,9 @@ extension Duration {
|
||||
Double(components.seconds) + Double(components.attoseconds) * 1e-18
|
||||
}
|
||||
}
|
||||
|
||||
extension Float {
|
||||
public init(_ value: Duration) {
|
||||
self = Float(value.asFloat)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user