Skip to content

Ray tracer implemented in Scala whilst working through The Ray Tracer Challenge book

License

Notifications You must be signed in to change notification settings

clinton3141/scala-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

I got my hands on a copy of The Ray Tracer Challenge and thought I'd give it a go in Scala. This is that attempt.

Running tests

The tests in this project are written as BDD tests. Yeah I know - that seems a bit strange - they might be better as TDD. But that's how they're presented in the book. The goal here is to practice Scala, so I'll leave them as-is as the path of least friction.

To run them:

  • sbt test

Compiling

  • sbt compile

Formatting

  • sbt scalafmt - formats just files in src
  • sbt scalafmtAll - formats all .scala files
  • sbt scalafmtCheck - checks just files in src files
  • sbt scalafmtCheckAll - checks all .scala files

About

Ray tracer implemented in Scala whilst working through The Ray Tracer Challenge book

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages