This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD.bk 2020-05-17 16:46:22.215277658 +0300 | |
+++ PKGBUILD 2020-05-17 16:40:27.445277285 +0300 | |
@@ -15,9 +15,11 @@ | |
install=openframeworks.install | |
source=( | |
"openal_fix.patch" | |
+ "make_fix.patch" | |
"of-make-workspace" | |
"https://openframeworks.cc/versions/v${pkgver}/of_v${pkgver}_linux64gcc6_release.tar.gz") | |
sha256sums=('3e04a8ff4da53e813c0d20b87d5f2231a10767b3a0960af46b0902812b616734' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Example program for creating an OpenGL context with EGL for offscreen | |
* rendering with a framebuffer. | |
* | |
* | |
* The MIT License (MIT) | |
* Copyright (c) 2014 Sven-Kristofer Pilz | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <inttypes.h> | |
// Analysis of d_osc.c from Pure Data | |
#define UNITBIT32 1572864. | |
// #define UNITBIT32 524288. | |
/* #define UNITBIT32 1048576. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Nothing; | |
template <typename T> | |
class Optional | |
{ | |
T value; | |
bool valid; | |
Optional(const T &value) | |
: value(value) |