Example #1
0
 public static V3 Project(V3 a, V3 b)
 {
     return(a.normalized * (a.Dot(b) / a.magnitude));
 }
Example #2
0
	public static V3 Ortho(V3 a, V3 b) {
		return a * (a.Dot(b) / a.Dot(a));
	}
Example #3
0
 public static V3 Ortho(V3 a, V3 b)
 {
     return(a * (a.Dot(b) / a.Dot(a)));
 }
Example #4
0
	public static V3 Project(V3 a, V3 b) {
		return a.normalized * (a.Dot(b) / a.magnitude);
	}