Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Jewelz Hu hujewelz

🎯
Focusing
View GitHub Profile
View GLApp.swift
// Modules should be imported
import Foundation
import Cglew
import Cglfw
import OpenGL.GL3
// Shader source code
fileprivate var vShaderCode = """
#version 330 core\n
View shader.swift
import Foundation
import Cglew
import Cglfw
public final class Shader {
let vShaderCode: String
let fShaderCode: String
let program: UInt32