This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wake up light manual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Transfer characteristics (bits 5 downto 4 of Byte 2) is set to HLG (1h). | |
// Other values set are only used for testing purposes and do not conform to any spec! | |
unsigned char cFrameDataVpid[] = | |
{ | |
0xAA, 0xD0, 0x00, 0x00, | |
}; | |
std::vector<unsigned char> FrameDataVpid(cFrameDataVpid, | |
&cFrameDataVpid[sizeof(cFrameDataVpid)/sizeof(cFrameDataVpid[0])]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
--------------------------------------------------------------- | |
https://gist.github.com/roxlu/2ac1aa06222ef788f9df235a5b2fbf7c | |
--------------------------------------------------------------- | |
oooo | |
'888 | |
oooo d8b .ooooo. oooo ooo 888 oooo oooo | |
'888""8P d88' '88b '88b..8P' 888 '888 '888 | |
888 888 888 Y888' 888 888 888 | |
888 888 888 .o8"'88b 888 888 888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
2020 OPENMAX TEST V2 | |
==================== | |
LOG: | |
2020-03-21: | |
I started to cleanup this code a bit; it's still work in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linked icon <div>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div> | |
material icon <div>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Cam::init(const vec3& p, const vec3& t, const vec3& u, float winWidth, float winHeight) { | |
win_width = winWidth; | |
win_height = winHeight; | |
dir = t - p; | |
pos = p; | |
target = t; | |
up = u; | |
pm.perspective(60.0f, winWidth / winHeight, 0.1f, 100.0f); | |
lm.lookat(pos, target, up); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fstream> | |
#include <vector> | |
#include <poly/mini_al.h> | |
#include <poly/Log.h> | |
using namespace poly; | |
/* -------------------------------------------- */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
--------------------------------------------------------------------------------- | |
oooo | |
`888 | |
oooo d8b .ooooo. oooo ooo 888 oooo oooo | |
`888""8P d88' `88b `88b..8P' 888 `888 `888 | |
888 888 888 Y888' 888 888 888 | |
888 888 888 .o8"'88b 888 888 888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
--------------------------------------------------------------- | |
oooo | |
'888 | |
oooo d8b .ooooo. oooo ooo 888 oooo oooo | |
'888""8P d88' '88b '88b..8P' 888 '888 '888 | |
888 888 888 Y888' 888 888 888 | |
888 888 888 .o8"'88b 888 888 888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This CMake file will build Freetype and Harfbuzz as external | |
# projects. We follow the build description as described here: | |
# https://sourceforge.net/projects/freetype/files/freetype2/2.5.3/ So, | |
# first we build Freetype2 w/o Harfbuzz, then we build Harfbuzz with | |
# freetype support after which we rebuild Freetype2 again. | |
# | |
# Both CMake files of Freetype2 and Harfbuzz are depending on | |
# pkg-config to find the dependencies for both projects. I've | |
# included a patch for Freetype2 and Harfbuzz which allows you to | |
# build Freetype2 and Harbuzz with pure CMake features. So I removed |
NewerOlder