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
using System.Runtime.InteropServices; | |
using UnityEngine; | |
using ViveSR.anipal.Eye; | |
public class GazeRays : MonoBehaviour | |
{ | |
private static EyeData eyeData = new EyeData(); | |
private bool eye_callback_registered = false; | |
// Render gaze rays. |
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
import pwn | |
from Crypto.Cipher import AES | |
import Crypto.Util.number as cun | |
import Crypto.Util.Padding as cup | |
from pprint import pprint | |
import os | |
import base64 | |
if pwn.args.DEBUG: | |
pwn.context.log_level = "debug" |
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
using GameProject.ComponentEnums; | |
namespace GameProject.Command | |
{ | |
public class Reset : ICommmand | |
{ | |
Game1 game; | |
public Reset(Game1 game) | |
{ | |
this.game = game; |
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
type | |
Foo = object of RootObj | |
Bar = object of Foo | |
Baz = object of Foo | |
proc castMaybe(foo: var Foo) = | |
if foo of Bar: | |
foo = Baz(foo) | |
var b: Foo |