Skip to content

Instantly share code, notes, and snippets.

View InterestingBrainPoops's full-sized avatar
🎯
Focusing

BrokenKeyboard InterestingBrainPoops

🎯
Focusing
View GitHub Profile
@InterestingBrainPoops
InterestingBrainPoops / triplevector.py
Created April 2, 2020 19:41 — forked from davidnuon/triplevector.py
Class for a 3D vector in Python
class TripleVector:
x = 0
y = 0
z = 0
def __init__(self, x, y, z):
self.x = float(x)
self.y = float(y)
self.z = float(z)