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
//from | |
//class Person { | |
// final String name; | |
// final int age; | |
// | |
// Person({ | |
// required this.name, | |
// required this.age, | |
// }) | |
//} |
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
Shader "Eldemarkki/Triplanar Shader" | |
{ | |
Properties | |
{ | |
XColor("X Color", Color) = (0.42, 0.42, 0.42, 1) | |
YColor("Y Color", Color) = (0.44, 0.74, 0.01, 1) | |
NegativeYColor("Negative Y Color", Color) = (0.32, 0.32, 0.32, 1) | |
Sensitivity("Sensitivity", Range(0,1)) = 0.6 | |
SensitivityBlend("Sensitivity Blend", Range(0, 0.2)) = 0.1 | |
BlendStepCount("Blend Step Count", Int) = 2 |
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
package main | |
import "fmt" | |
type callback func() | |
type fn func(int) | |
func main() { | |
barriers := Barrier(10) |
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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class MeshCut | |
{ | |
private static Plane blade; | |
private static Transform victim_transform; | |
private static Mesh victim_mesh; |