This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.concurrent.Future | |
object TimingFutures extends App{ | |
import scala.concurrent.ExecutionContext.Implicits.global | |
def timedFuture[T](future: Future[T]) = { | |
val start = System.currentTimeMillis() | |
future.onComplete({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
###* | |
Hexagon geometry | |
@author Drahomír Hanák | |
### | |
class HexagonGeometry extends THREE.Geometry | |
###* | |
@constructor |