hw01 icon indicating copy to clipboard operation
hw01 copied to clipboard

hw1

Open imcuna opened this issue 3 years ago • 0 comments

为什么stbi要这样设计 首先我理解的“这样”指的是header only,且当引用时需要定义一个STB_IMAGE_WRITE_IMPLEMENTATION这样的宏。 header only的好处是跨平台+使用方便,为了实现header only就需要把函数实现写在头文件中,但是为了避免多次定义,就需要加入STB_IMAGE_WRITE_IMPLEMENTATION这样的宏。

imcuna avatar Jan 30 '22 09:01 imcuna