Sha256: a18e3f6c2cc831cdadefa6e4d8e67344d571ba4745425f1bba8024f727bd3356
Contents?: true
Size: 824 Bytes
Versions: 26
Compression:
Stored size: 824 Bytes
Contents
#include "rays/exception.h" #include <xot/string.h> namespace Rays { RaysError::RaysError (const char* str) : Super(str) { } OpenGLError::OpenGLError (const char* str) : Super(str) { } ShaderError::ShaderError (const char* str) : Super(str) { } namespace ErrorFunctions { void rays_error (const char* file, int line, const char* format, ...) { XOT_STRINGF(format, s); throw RaysError(Xot::error_text(file, line, s)); } void opengl_error (const char* file, int line, const char* format, ...) { XOT_STRINGF(format, s); throw OpenGLError(Xot::error_text(file, line, s)); } void shader_error (const char* file, int line, const char* format, ...) { XOT_STRINGF(format, s); throw ShaderError(Xot::error_text(file, line, s)); } }// ErrorFunctions }// Rays
Version data entries
26 entries across 26 versions & 1 rubygems