Home
last modified time | relevance | path

Searched refs:normalise (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dmisc_raytrace.py27 def normalise(self): member in Vec
54 return (self.xdir * dx + self.ydir * dy + self.zdir * self.depth).normalise()
107 return self.surface, (v - self.centre).normalise()
113 self.normal = normal.normalise()
174 light_vec = light_vec.normalise()

Completed in 2 milliseconds