#include <android/log.h>
#include <cstdio>
#include <cstdlib>
#include <GLES3/gl3.h>
Go to the source code of this file.
Value:
LOGE(
"Assertion failed at %s:%i\n%s\n", __FILE__, __LINE__, s); \
exit(1); \
}
GLint GLint GLint GLint GLint x
Definition at line 44 of file Common.h.
Value:
GLenum glError = glGetError(); \
if(glError != GL_NO_ERROR) {
\
LOGE(
"glGetError() = %i (0x%.8x) at %s:%i\n", glError, glError, __FILE__, __LINE__); \
exit(1); \
} \
}
GLint GLint GLint GLint GLint x
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
Definition at line 51 of file Common.h.
#define LOG_TAG "libNative" |
#define LOGD |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_DEBBUG, LOG_TAG, __VA_ARGS__) |
#define LOGE |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) |
#define LOGI |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) |
#define M_PI 3.14159265358979323846f |
The value of pi approximation.
Definition at line 31 of file Common.h.
#define NUMBER_OF_POINT_COORDINATES (3) |
Number of coordinates for a point in 3D space.
Definition at line 36 of file Common.h.
Convert an angle in degrees to radians.
- Parameters
-
degrees | The angle (in degrees) to convert to radians. |
- Returns
- As per description.
Definition at line 68 of file Common.h.