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
var Class = (function () { | |
"use strict"; | |
//Private property | |
var variable = 5; | |
//Constructor | |
function ClassInstance(param) { | |
if(!(this instanceof ClassInstance)){ | |
return; |
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 "Mesh.h" | |
Mesh::Mesh() | |
{ | |
VAO = 0, VBO = 0, IBO = 0, indexCount = 0; | |
} | |
void Mesh::CreateMesh(GLfloat* vertices, unsigned int* indices, unsigned int numOfVertices, unsigned int numOfIndices) | |
{ | |
indexCount = numOfIndices; |
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
public class DisplayEnumsWithValuesDocumentFilter : IDocumentFilter | |
{ | |
private string AddEnumValuesDescription(OpenApiSchema schema) | |
{ | |
if (schema.Enum.Count == 0) | |
{ | |
return null; | |
} | |
var sb = new StringBuilder(); |