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
| # Make sure our master branch is up to date | |
| git checkout master | |
| git pull | |
| # Remove our former release branch | |
| git branch -D lastest-release 2>/dev/null | |
| git push origin --delete lastest-release 2>/dev/null | |
| # Create a new branch to run the build under | |
| git checkout -b lastest-release |
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
| // Full shader example demonstrating how to use a quaterionion to rotate a vertex around a specific point. Note that this is just a plain | |
| // vanilla unlit shader which includes the necessary functions (see section below) and example code in the vertex shader. | |
| // | |
| // Forked from https://gist.github.com/nkint/7449c893fb7d6b5fa83118b8474d7dcb | |
| // Converted from GLSL to Cg. For help with that, see https://alastaira.wordpress.com/2015/08/07/unity-shadertoys-a-k-a-converting-glsl-shaders-to-cghlsl/ | |
| // | |
| // quaternion code from https://github.com/stackgl/gl-quat | |
| // rotation from https://twistedpairdevelopment.wordpress.com/2013/02/11/rotating-a-vector-by-a-quaternion-in-glsl/ | |
| Shader "Unlit/Quaternion" |
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
| /* | |
| * Created by C.J. Kimberlin | |
| * | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2019 | |
| * | |
| * 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 |