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
#!/usr/bin/env stack | |
-- stack --resolver=lts-8.10 runghc --package=yaml --package=fsnotify --package=system-filepath --package=turtle | |
{-# LANGUAGE OverloadedStrings #-} | |
-- HLSL Shader BuildBot in Haskell | |
import Prelude hiding (FilePath) | |
import System.FSNotify (withManagerConf, watchDir, Event(..), eventPath, WatchConfig(WatchConfig), confPollInterval, confUsePolling, Debounce(Debounce), defaultConfig) | |
import Filesystem.Path (dropExtension, replaceExtension, extension) | |
import qualified Filesystem.Path.CurrentOS as FilePath2 | |
import Control.Concurrent (threadDelay) |
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
#pragma once | |
/* | |
The MIT License (MIT) | |
Copyright (c) 2016 S.Percentage | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
and associated documentation files (the "Software"), to deal in the Software without restriction, | |
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, |
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
#include <Siv3D.hpp> | |
// PracticalPixelEffects: Wrapper classes for Pixel Shader things(Complex PostEffect/GPU-Accelerated Procedural Texture Generation) | |
// Accelerated(GPU) Texture Generator Base | |
class AcceleratedGeneratorBase | |
{ | |
struct TextureInfoBuffer | |
{ | |
float width, height, aspect_wh, pad; |
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
-- nyagos prompt customize script -- | |
-- ref | |
---- https://github.com/zetamatta/nyagos/pull/26 | |
---- http://ascii-table.com/ansi-escape-sequences.php | |
---- http://qiita.com/JugnautOnishi/items/551d040cd81a77c28739 | |
---- http://qiita.com/zetamatta/items/c08586c85fa73c182a7a | |
---- http://qiita.com/kubosho_/items/c200680c26e509a4f41c | |
---- http://qiita.com/nocd5/items/b9a149c69416da9cddec | |
---- http://unko.client.jp/AA/fgiko1.html |
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
#include "ScriptEngine.h" | |
// place AngelScript include files into "as" directory | |
// and place add-ons folder into "as/addons" directory | |
#include "as/addons/scriptstdstring/scriptstdstring.h" | |
// AngelScript Runtime/Loader | |
#ifdef _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
class A | |
{ | |
int d; | |
} | |
class B : A | |
{ | |
int a; | |
} | |
struct P(Type) | |
{ |
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
#include <Siv3D.hpp> | |
/// AnimationManagerおよび関係クラス /// | |
/// AnimationManager: Siv3D January 2015より追加されたEasing名前空間のものをより扱いやすくする補助クラスです。 | |
class IAnimationParameter | |
{ | |
// テンプレートの情報を消すための下駄 | |
friend class AnimationManager; | |
virtual void process(double t) = 0; |