- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
class Polygon : Geometry { | |
func polyNode(in rect: CGRect) -> SCNGeometry { | |
var verticesP:[SCNVector3] = [] | |
var planeIndicesP:[Int32] = [] | |
let angle = 0 | |
let sides = 24 | |
var index:Int32 = 0 |
# | |
# CMake build system for Dear ImGui | |
# ================================= | |
# | |
# Build instructions: | |
# 1. Install latest CMake | |
# * Windows: https://cmake.org/download/ (Tick checkbox to place cmake in system PATH) | |
# * Linux: from your favorite package manager | |
# * MacOS: brew install cmake | |
# 2. Open command prompt in directory containing "imgui" and "imgui_dev" folders |
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
extension Notification { | |
struct UserInfoKey<ValueType>: Hashable { | |
let key: String | |
} | |
#!/usr/bin/env bash | |
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\ | |
function register_clang_version { | |
local version=$1 | |
local priority=$2 | |
update-alternatives \ | |
--install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ |