Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 626 Bytes

tools.md

File metadata and controls

36 lines (25 loc) · 626 Bytes

Tools

To build tools on Windows install dotnet and build project in "tools" directory:

https://dotnet.microsoft.com/download/dotnet/5.0

    cd tools
    dotnet build

Compare image

  ray imagediff --source "c\c-raytracer.bmp" --target "php\php-ray-tracer.bmp"
  ray imagediff "c\c-raytracer.bmp" "php\php-ray-tracer.bmp"

  #or just specify folder
  ray imagediff c php

Measure time

Time command uses definitions from projects.xml file to build and run project.

  ray time --name php
  ray time --name c
  ray time --name c++

  # or
  ray time php
  ray time c
  ray time c++