This file contains hidden or 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
Imports MySql.Data.MySqlClient | |
Public Class Form1 | |
Dim prevConnection As String = "kryssel" | |
Private Sub loadDatabases() | |
rtbLogs.AppendText("Loading databases" + vbNewLine) |
This file contains hidden or 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
Public Class Form1 | |
Class Pair | |
Public first As String | |
Public second As String | |
End Class | |
Function generateFrequency() As ArrayList | |
If (dataList.Items.Count > 0 And txtbClassSize.Text.Length > 0) Then |
This file contains hidden or 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 "Shader.hpp" | |
namespace Shader { | |
std::string ShaderUtility::loadShaderFile(const std::string &fileName) { | |
std::fstream readFile(fileName, std::fstream::in, std::fstream::trunc); | |
std::string sourceCode, line; | |
if (!readFile) { | |
std::cerr << "cannot load File " << fileName << std::endl; | |
throw std::runtime_error("error cannot load file"); |
This file contains hidden or 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
#ifndef SHADER_UTILITY_HEADER | |
#define SHADER_UTILITY_HEADER | |
#include <GL/glew.h> | |
#include <GL/freeglut.h> | |
#include <fstream> | |
#include <vector> | |
#include <iostream> | |
#include <initializer_list> |
This file contains hidden or 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
#ifndef SHADER_UTILITY_HEADER | |
#define SHADER_UTILITY_HEADER | |
#include <GL/glew.h> | |
#include <GL/freeglut.h> | |
#include <fstream> | |
#include <vector> | |
#include <iostream> | |
#include <initializer_list> |
This file contains hidden or 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
#ifndef CAMERA_HEADER | |
#define CAMERA_HEADER | |
#include <glm.hpp> | |
#include <stdexcept> | |
class Camera { | |
public: | |
Camera() try : | |
position(glm::vec3(0.0f, 0.0f, 0.0f)), fov(0.0f), zNear(1.0f), zFar(0.0f) { |
This file contains hidden or 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
#ifndef CAMERA_HEADER | |
#define CAMERA_HEADER | |
class Camera { | |
public: | |
Camera() : x(0.0f), | |
y(0.0f), | |
z(0.0f), | |
zNear(0.0f), |
This file contains hidden or 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
#ifndef CAMERA_HEADER | |
#define CAMERA_HEADER | |
class Camera { | |
public: | |
Camera() : | |
x(0.0f), y(0.0f), z(0.0f), fov(0.0f), zNear(0.0f), zFar(0.0f) { } | |
float x, y, z; | |
float fov, zNear, zFar; |
This file contains hidden or 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
#define GLEW_STATIC | |
#include <GL/glew.h> | |
#include <GL/freeglut.h> | |
#include <iostream> | |
#include <cstdlib> | |
#include "main.hpp" |
This file contains hidden or 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
#define GLEW_STATIC | |
#include <GL/glew.h> | |
#include <GL/freeglut.h> | |
#include <string> | |
#include <stdexcept> | |
#include <iostream> | |
#include <cstdlib> |
NewerOlder