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
struct VertexPosUv0 { | |
glm::vec3 position; | |
glm::vec2 uv0; | |
VertexPosUv0(glm::vec3 pos) : | |
position(pos) { | |
} | |
VertexPosUv0(glm::vec3 pos, glm::vec2 uv0) : | |
position(pos), uv0(uv0) { | |
} | |
}; |
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
/* A null pointer constant. */ | |
#if defined (_STDDEF_H) || defined (__need_NULL) | |
#undef NULL /* in case <stdio.h> has defined it. */ | |
#ifdef __GNUG__ | |
#define NULL __null | |
#else /* G++ */ | |
#ifndef __cplusplus | |
#define NULL ((void *)0) | |
#else /* C++ */ |
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
/* A null pointer constant. */ | |
#if defined (_STDDEF_H) || defined (__need_NULL) | |
#undef NULL /* in case <stdio.h> has defined it. */ | |
#ifdef __GNUG__ | |
#define NULL __null | |
#else /* G++ */ | |
#ifndef __cplusplus | |
#define NULL ((void *)0) | |
#else /* C++ */ |
NewerOlder