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
std::string glTypeToString(GLenum type) | |
{ | |
switch (type) | |
{ | |
case GL_FLOAT: return "GL_FLOAT"; | |
case GL_FLOAT_VEC2: return "GL_FLOAT_VEC2"; | |
case GL_FLOAT_VEC3: return "GL_FLOAT_VEC3"; | |
case GL_FLOAT_VEC4: return "GL_FLOAT_VEC4"; | |
case GL_FLOAT_MAT2: return "GL_FLOAT_MAT2"; | |
case GL_FLOAT_MAT3: return "GL_FLOAT_MAT3"; |
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
-abstracts do not have the underlying type generated: | |
source: | |
@:enum abstract ClampType(Int) from Int to Int {} | |
generated: | |
@:enum abstract ClampType {} | |
-generates individual file per definition rather than module: | |
source path structure: | |
import org.Types.MyType; |
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
package ; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.Lib; | |
import ru.stablex.ui.UIBuilder; | |
import ru.stablex.ui.widgets.Button; | |
import ru.stablex.ui.widgets.Floating; | |
/** |
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
package ; | |
import flash.display.StageAlign; | |
import flash.display.StageScaleMode; | |
import flash.Lib; | |
import nape.geom.Vec2; | |
import nape.phys.Body; | |
import nape.phys.BodyType; | |
import nape.shape.Polygon; | |
import nape.space.Broadphase; |