Post

Replies

Boosts

Views

Activity

Reply to Swift equivalent of ar_data_providers_create_with_data_providers and cp_time_to_cf_time_interval
Hi Muse, I have tracked it down to this block. Cheers. extension LayerRenderer.Clock.Instant { func toTimeInterval() -> TimeInterval { let duration = LayerRenderer.Clock.Instant.epoch.duration(to: self) let secondsPart = Double(duration.components.seconds) let attosecondsPart = Double(duration.components.attoseconds) / 1e18 return secondsPart + attosecondsPart } }
Topic: Graphics & Games SubTopic: General Tags:
Aug ’23