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
; Setup environment | |
#Requires AutoHotkey v2.0 | |
#Warn ; Enable warnings to assist with detecting common errors. | |
; CapsLock as a layer modifier key | |
A_HotkeyModifierTimeout := 100 ; prevents sticking of layer key | |
; CapsLock is turned off, can be toggled with CapsLock + Esc | |
SetCapsLockState "AlwaysOff" | |
CapsLock & Esc::{ |
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
#pragma once | |
// Tricky template trick to access private members. | |
// https://bloglitb.blogspot.com/2011/12/access-to-private-members-safer.html | |
template <typename Tag, typename Tag::Type M> | |
struct TRob | |
{ | |
friend typename Tag::Type Get(Tag) | |
{ | |
return M; |
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
#!/bin/sh | |
# Add perforce package key and repo (from https://www.perforce.com/manuals/p4sag/Content/P4SAG/install.linux.packages.install.html) | |
wget -qO - https://package.perforce.com/perforce.pubkey | gpg --dearmor | sudo tee /usr/share/keyrings/perforce.gpg | |
sudo echo "deb [signed-by=/usr/share/keyrings/perforce.gpg] https://package.perforce.com/apt/ubuntu jammy release" > /etc/apt/sources.list.d/perforce.list | |
# Install p4d | |
sudo apt-get update | |
sudo apt-get install -y helix-p4d |
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
// Copyright Ben Sutherland 2021. All rights reserved. | |
// EXPERIMENTAL B-Spline path fitting functionality for the Flying Navigation System. | |
#pragma once | |
#include "CoreMinimal.h" | |
#include "Kismet/BlueprintFunctionLibrary.h" | |
#include "FlyingNavFunctionLibrary.h" | |
#include "NavigationPath.h" | |
#include "FlyingSplineExtension.generated.h" |
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
#pragma once | |
#include "CoreMinimal.h" | |
/** | |
* Library of commonly used custom functions | |
*/ | |
class QuatStaticLibrary | |
{ | |
public: |