Skip to content

Instantly share code, notes, and snippets.

View AppleDeveloper37's full-sized avatar

AppleDeveloper37

View GitHub Profile
@AppleDeveloper37
AppleDeveloper37 / Shaders.metal
Last active August 29, 2015 14:16
GPGPU with METAL in Swift
#include <metal_stdlib>
using namespace metal;
struct FloatVector {
float x = 0;
float y = 0;
float z = 0;
float w = 1;
};