Skip to content

Instantly share code, notes, and snippets.

@FrankNiemeyer
Created August 28, 2015 16:04
Show Gist options
  • Select an option

  • Save FrankNiemeyer/e136caf93b03f964020b to your computer and use it in GitHub Desktop.

Select an option

Save FrankNiemeyer/e136caf93b03f964020b to your computer and use it in GitHub Desktop.
static void Dot3AosVectorDp(Vector3[] vs, float[] dp) {
for (var j = 0; j < reps; ++j) {
for (var i = 0; i < dp.Length; ++i) {
dp[i] = Vector3.Dot(vs[i], vs[i]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment