Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View hujewelz's full-sized avatar
🎯
Focusing

Jewelz Hu hujewelz

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