aboutsummaryrefslogtreecommitdiffstats
path: root/minilibx-linux/man/man1/mlx_pixel_put.1
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-24 19:34:31 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-24 19:34:31 +0200
commit172fc25127f57b6b405de41c02987ad8c3a40c95 (patch)
tree7a7153804f7f0e87f3bea96159563a8fab3af15a /minilibx-linux/man/man1/mlx_pixel_put.1
parentFine (diff)
download42-cub3d-172fc25127f57b6b405de41c02987ad8c3a40c95.tar.gz
42-cub3d-172fc25127f57b6b405de41c02987ad8c3a40c95.tar.bz2
42-cub3d-172fc25127f57b6b405de41c02987ad8c3a40c95.tar.xz
42-cub3d-172fc25127f57b6b405de41c02987ad8c3a40c95.tar.zst
42-cub3d-172fc25127f57b6b405de41c02987ad8c3a40c95.zip
Libx update, click close should work
Diffstat (limited to 'minilibx-linux/man/man1/mlx_pixel_put.1')
-rw-r--r--minilibx-linux/man/man1/mlx_pixel_put.113
1 files changed, 8 insertions, 5 deletions
diff --git a/minilibx-linux/man/man1/mlx_pixel_put.1 b/minilibx-linux/man/man1/mlx_pixel_put.1
index f4d131e..258df58 100644
--- a/minilibx-linux/man/man1/mlx_pixel_put.1
+++ b/minilibx-linux/man/man1/mlx_pixel_put.1
@@ -63,11 +63,14 @@ to create the original color. Theses three values must be set inside the
integer to display the right color. The three least significant bytes of
this integer are filled as shown in the picture below:
-.nf
- | 0 | R | G | B | color integer
- +---+---+---+---+
-.fi
-
+.TS
+allbox;
+c s s s s
+r c c c c.
+Color Integer
+Interpretation \[*a] R G B
+Bit numbers 31..24 23..16 15..8 7..0
+.TE
While filling the integer, make sure you avoid endian problems. Remember
that the "blue" byte should always be the least significant one.