Skip to content

Instantly share code, notes, and snippets.

@omaraflak
Created July 26, 2020 10:24
Show Gist options
  • Save omaraflak/da248cb9dd6f6778d36d158b7db9cec4 to your computer and use it in GitHub Desktop.
Save omaraflak/da248cb9dd6f6778d36d158b7db9cec4 to your computer and use it in GitHub Desktop.
def reflected(vector, axis):
return vector - 2 * np.dot(vector, axis) * axis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment