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
/* | |
* Copyright (c) 2012 Samsung Electronics Co., Ltd. | |
* http://www.samsung.com | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License version 2 as | |
* published by the Free Software Foundation. | |
*/ | |
#include <linux/platform_device.h> | |
#include <linux/delay.h> |
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 <GL/glew.h> | |
#include <GLFW/glfw3.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
//----------------------------------------------------------------------------- | |
// | |
static void error_callback( int error, const char* description ) | |
{ | |
fputs( description, stderr ); |
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
const int MAX_CLUSTERS = 5; | |
Scalar colorTab[] = | |
{ | |
Scalar(0, 0, 255), | |
Scalar(0,255,0), | |
Scalar(255,100,100), | |
Scalar(255,0,255), | |
Scalar(0,255,255) | |
}; |
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 <tuple> | |
template <typename... Args> | |
struct variadic_typedef | |
{ | |
// this single type represents a collection of types, | |
// as the template arguments it took to define it | |
}; | |
template <typename... Args> |