- I am using
GNU/Linux - My IDE is
IntelliJ IDEA - The project is
Antbased. - My working directory is
$JNI - My C++ IDE is
QtCreator(I'll mention the build steps inline). - NDK should be installed and
ndk-buildshould be available in$PATH javahshould be available in$PATH
This file contains hidden or 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
| class Heightmap { | |
| var size :Int; | |
| var tiles :Array<Array<Null<Float>>>; | |
| var d :Int; | |
| public function new() { | |
| } | |
This file contains hidden or 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
| class Perlin { | |
| public var repeat :Int; | |
| public function new(repeat :Int = -1) { | |
| this.repeat = repeat; | |
| } | |
| public function OctavePerlin(x :Float, y :Float, z :Float, octaves :Int, persistence :Float) { | |
| var total :Float = 0; | |
| var frequency :Float = 1; |
This file contains hidden or 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
| import os | |
| import opengl | |
| import glfw/wrapper as glfw | |
| var | |
| win: GLFWwindow | |
| vaoID: GLuint | |
| vboID: GLuint | |
| cboID: GLuint | |
| vertexShaderID: GLuint |
This file contains hidden or 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 luxe.Component; | |
| import luxe.Rectangle; | |
| import luxe.Vector; | |
| class PhysBody { | |
| public var rect:Rectangle; | |
| public var vel:Vector; | |
| public var acc:Vector; |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- Copyright (C) 2014 The Android Open Source Project | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
This file contains hidden or 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
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| DisableRainmeterSkin() | |
| { | |
| Envget, APPDATA, APPDATA | |
| RainmeterINI = %APPDATA%\Rainmeter\Rainmeter.ini | |
| VDMSection = Visions+\VDM Controller | |
| VDMActiveKey = Active |
NewerOlder