Provides a mixin and type which enables simple definitions of virtual types with a dynamic dispatch interface.
To create a virtual type, you must create a struct which:
- declares:
| ... |
| ... |
| extends AtlasTexture | |
| class_name AnimatedAtlasTexture | |
| export(int, 1, 100) var h_frames := 1 | |
| export(int, 1, 100) var v_frames := 1 | |
| export var fps := 10.0 | |
| var previous_frame := 0 | |
| var frame := 0 |
| # command | |
| git log --graph --pretty=format:"%Cred%h%Creset %C(yellow)%d%Creset %C(bold blue)<%an> %Cgreen(%cr)%n%n %Creset%s%n" --abbrev-commit | |
| # alias | |
| git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %C(bold blue)<%an> %Cgreen(%cr)%n%n %Creset%s%n' --abbrev-commit" |
| Options +ExecCGI | |
| AddHandler cgi-script cgi | |
| RewriteEngine on | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule (.*) server.cgi |
| (function(){ | |
| // performance.now already exists | |
| if(window.performance && window.performance.now) | |
| return; | |
| // performance exists and has the necessary methods to hack out the current DOMHighResTimestamp | |
| if( | |
| window.performance && | |
| window.performance.timing && |