public static void UnregisterObject(RayTracedObject obj) { rayTracedObjects.Remove(obj); meshObjectsNeedRebuilding = true; }
public static void RegisterObject(RayTracedObject obj) { rayTracedObjects.Add(obj); meshObjectsNeedRebuilding = true; }