Ray Tracing, Apple Metal, Swift Programming, Gpu Rendering, Wwdc 2020.
will call it RayTracing3 file and add Ray.swift struct Ray { private var _origin = float3(0,0,0) private var _direction = float3(0,0,0) var origin: float3 { get { return _origin } set { _origin = newValue } } var direction : float3 { get { return _direction } set { _direction = newValue } } func