├── .github └── FUNDING.yml ├── Game ├── Test.tiff ├── game.c ├── game.swift └── header.h ├── LICENSE ├── Readme.md ├── examples └── basic_shapes.png ├── metalRay Shared ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── ColorMap.textureset │ │ ├── Contents.json │ │ └── Universal.mipmapset │ │ │ ├── ColorMap.png │ │ │ └── Contents.json │ ├── Contents.json │ └── tvOS App Icon & Top Shelf Image.brandassets │ │ ├── App Icon - App Store.imagestack │ │ ├── Back.imagestacklayer │ │ │ ├── Content.imageset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── Front.imagestacklayer │ │ │ ├── Content.imageset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ └── Middle.imagestacklayer │ │ │ ├── Content.imageset │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── App Icon.imagestack │ │ ├── Back.imagestacklayer │ │ │ ├── Content.imageset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── Front.imagestacklayer │ │ │ ├── Content.imageset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ └── Middle.imagestacklayer │ │ │ ├── Content.imageset │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── Top Shelf Image Wide.imageset │ │ └── Contents.json │ │ └── Top Shelf Image.imageset │ │ └── Contents.json ├── Bridge.h ├── Draw │ ├── Draw.metal │ ├── Math.swift │ ├── MetalDraw2D.swift │ └── MetalStates.swift ├── Fonts │ ├── OpenSans.json │ ├── OpenSans.tiff │ ├── Square.json │ └── Square.tiff ├── Functions │ ├── Core.swift │ └── Drawing.swift ├── Game.swift ├── Globals.swift ├── Misc │ ├── Font.swift │ └── Misc.swift ├── RayView.swift ├── ShaderTypes.h ├── Shaders.metal ├── metalray.h └── metalray_core.h ├── metalRay iOS ├── AppDelegate.swift ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard └── GameViewController.swift ├── metalRay macOS ├── AppDelegate.swift ├── Base.lproj │ └── Main.storyboard ├── GameViewController.swift └── metalRay_macOS.entitlements ├── metalRay tvOS ├── AppDelegate.swift ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard └── GameViewController.swift └── metalRay.xcodeproj ├── project.pbxproj ├── project.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist └── xcuserdata └── markusmoenig.xcuserdatad ├── xcdebugger └── Breakpoints_v2.xcbkptlist └── xcschemes └── xcschememanagement.plist /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /Game/Test.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/Game/Test.tiff -------------------------------------------------------------------------------- /Game/game.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/Game/game.c -------------------------------------------------------------------------------- /Game/game.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/Game/game.swift -------------------------------------------------------------------------------- /Game/header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/Game/header.h -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/LICENSE -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/Readme.md -------------------------------------------------------------------------------- /examples/basic_shapes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/examples/basic_shapes.png -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/ColorMap.textureset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/ColorMap.textureset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/ColorMap.textureset/Universal.mipmapset/ColorMap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/ColorMap.textureset/Universal.mipmapset/ColorMap.png -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/ColorMap.textureset/Universal.mipmapset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/ColorMap.textureset/Universal.mipmapset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Assets.xcassets/tvOS App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json -------------------------------------------------------------------------------- /metalRay Shared/Bridge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Bridge.h -------------------------------------------------------------------------------- /metalRay Shared/Draw/Draw.metal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Draw/Draw.metal -------------------------------------------------------------------------------- /metalRay Shared/Draw/Math.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Draw/Math.swift -------------------------------------------------------------------------------- /metalRay Shared/Draw/MetalDraw2D.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Draw/MetalDraw2D.swift -------------------------------------------------------------------------------- /metalRay Shared/Draw/MetalStates.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Draw/MetalStates.swift -------------------------------------------------------------------------------- /metalRay Shared/Fonts/OpenSans.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Fonts/OpenSans.json -------------------------------------------------------------------------------- /metalRay Shared/Fonts/OpenSans.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Fonts/OpenSans.tiff -------------------------------------------------------------------------------- /metalRay Shared/Fonts/Square.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Fonts/Square.json -------------------------------------------------------------------------------- /metalRay Shared/Fonts/Square.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Fonts/Square.tiff -------------------------------------------------------------------------------- /metalRay Shared/Functions/Core.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Functions/Core.swift -------------------------------------------------------------------------------- /metalRay Shared/Functions/Drawing.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Functions/Drawing.swift -------------------------------------------------------------------------------- /metalRay Shared/Game.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Game.swift -------------------------------------------------------------------------------- /metalRay Shared/Globals.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Globals.swift -------------------------------------------------------------------------------- /metalRay Shared/Misc/Font.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Misc/Font.swift -------------------------------------------------------------------------------- /metalRay Shared/Misc/Misc.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Misc/Misc.swift -------------------------------------------------------------------------------- /metalRay Shared/RayView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/RayView.swift -------------------------------------------------------------------------------- /metalRay Shared/ShaderTypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/ShaderTypes.h -------------------------------------------------------------------------------- /metalRay Shared/Shaders.metal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/Shaders.metal -------------------------------------------------------------------------------- /metalRay Shared/metalray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/metalray.h -------------------------------------------------------------------------------- /metalRay Shared/metalray_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay Shared/metalray_core.h -------------------------------------------------------------------------------- /metalRay iOS/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay iOS/AppDelegate.swift -------------------------------------------------------------------------------- /metalRay iOS/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay iOS/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /metalRay iOS/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay iOS/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /metalRay iOS/GameViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay iOS/GameViewController.swift -------------------------------------------------------------------------------- /metalRay macOS/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay macOS/AppDelegate.swift -------------------------------------------------------------------------------- /metalRay macOS/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay macOS/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /metalRay macOS/GameViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay macOS/GameViewController.swift -------------------------------------------------------------------------------- /metalRay macOS/metalRay_macOS.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay macOS/metalRay_macOS.entitlements -------------------------------------------------------------------------------- /metalRay tvOS/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay tvOS/AppDelegate.swift -------------------------------------------------------------------------------- /metalRay tvOS/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay tvOS/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /metalRay tvOS/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay tvOS/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /metalRay tvOS/GameViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay tvOS/GameViewController.swift -------------------------------------------------------------------------------- /metalRay.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /metalRay.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /metalRay.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /metalRay.xcodeproj/xcuserdata/markusmoenig.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay.xcodeproj/xcuserdata/markusmoenig.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist -------------------------------------------------------------------------------- /metalRay.xcodeproj/xcuserdata/markusmoenig.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markusmoenig/metalRay/HEAD/metalRay.xcodeproj/xcuserdata/markusmoenig.xcuserdatad/xcschemes/xcschememanagement.plist --------------------------------------------------------------------------------