Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ykozw/rdb
Ray-tracing visual debugger
https://github.com/ykozw/rdb
Last synced: about 2 months ago
JSON representation
Ray-tracing visual debugger
- Host: GitHub
- URL: https://github.com/ykozw/rdb
- Owner: ykozw
- Created: 2019-07-19T13:24:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T12:15:53.000Z (over 5 years ago)
- Last Synced: 2024-11-08T13:03:24.984Z (2 months ago)
- Language: C++
- Homepage:
- Size: 1.21 MB
- Stars: 27
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- AwesomeCppGameDev - rdb - tracing visual debugger (Graphics)
README
# What's this?
__rdb is a Ray-tracing debugger inspired by [vdb](https://github.com/zdevito/vdb).__
Feature
- Ultimately simple APIs
- Thread safety
- Single header only# How to use
1. run "rdb.exe"
2. include "rdb.hpp" and call APIs
3. run.# API
```c
void rdbPoint(
float x, float y, float z,
float r, float g, float b,
int32_t group);
``````c
void rdbLine(
float x0, float y0, float z0,
float x1, float y1, float z1,
float r0, float g0, float b0,
float r1, float g1, float b1,
int32_t group);
``````c
void rdbTriangle(
float x0, float y0, float z0,
float x1, float y1, float z1,
float x2, float y2, float z2,
float r, float g, float b,
int32_t group)
```That's all.