public RayCaster(DirectBitmap directBitmap, Camera camera, double fov) { _directBitmap = directBitmap; _camera = camera; _fov = fov; }
public Pipeline(Camera camera, double fov, double near, double far, ObjectsController objectsController, DirectBitmap bitmap, Cursor3D cursor) { _camera = camera; _fov = (float)fov; _near = (float)near; _far = (float)far; _objectsController = objectsController; _bitmap = bitmap; _aspectRatio = (float)_bitmap.Width / _bitmap.Height; _cursor = cursor; }