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
| module Main where | |
| import Prelude | |
| import Control.Lazy (fix) | |
| import Control.Monad.Except (Except, runExcept, throwError) | |
| import Data.Either (Either(..)) | |
| import Effect (Effect) | |
| import Halogen as H | |
| import Halogen.Aff as HA |
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
| pub trait CA<T> { | |
| fn rule(&self, x: usize, y: usize) -> T; | |
| fn update(&mut self) -> (); | |
| fn render(&self) -> String; | |
| } | |
| mod lifegame { | |
| #[derive(Copy, Clone, PartialEq)] | |
| pub enum CellStatus { | |
| Dead, |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using VRCSDK2; | |
| namespace MadTools { | |
| [CustomEditor(typeof(VRCSDK2.VRC_AvatarDescriptor))] | |
| public class ScalingAvatar : AvatarDescriptorEditor { | |
| Vector3 defaultViewPosition = new Vector3(0, 1.6f, 0); |