Skip to content

Comments

fix: rasterization missing import#8

Open
CalumFreeman wants to merge 1 commit intoscratchapixel:mainfrom
CalumFreeman:rasterization-practical-implementation
Open

fix: rasterization missing import#8
CalumFreeman wants to merge 1 commit intoscratchapixel:mainfrom
CalumFreeman:rasterization-practical-implementation

Conversation

@CalumFreeman
Copy link

I tried to compile the rasterisation-practical-implementation example using g++ (GCC) 15.1.1 20250425. The following command:
g++ raster3d.cpp -o test
gives a compile error which suggests cstdint is missing. Adding the import statement fixes the compile error (and the code runs and produces a raster successfully).

rasterisation-practical-implementation requires <cstdint> in geometry.h. This adds the import so that it compiles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant