This sample is based on the code from the following site:
https://harm-smits.github.io/42docs/libs/minilibx
This sample project implements simple drawing and event hooks.
Clone this project and build.
$ git clone https://github.com/ssmyg/minilibx_sample.git
$ cd minilibx_sample
$ make
$ ./sample
I wrote an article about fract'ol. Please refer to it if you like.
Fract'ol - How to zoom to the limit and smooth operation
https://www.youtube.com/watch?v=2Zf4xkm4hhI
このサンプルは下記サイトのコードを参考にしています。
https://harm-smits.github.io/42docs/libs/minilibx
簡単な描画とイベントフックを一通り実装しています。
プロジェクトをクローンした後、ビルドすると、sampleという実行ファイルが作成されます。
$ git clone https://github.com/ssmyg/minilibx_sample.git
$ cd minilibx_sample
$ make
$ ./sample
fract'olをする場合、記事を書いたのでもしよければ参考にして下さい。
動画