Personally, I think it's particularly stupid that you can't use it for GLSL shaders from external files...
e0qdk
Microsoft had a Visual Basic variant (VBScript) in IE that got some attention back in the 90s; it's probably just as well that JS won instead of that...
In modern webdev type="module" is used to indicate an ES6 module and type="importmap" to include a JSON table of paths to modules. Still basically JS, but the parameter is still used in a meaningful way.
while ( const std::optional event = window.pollEvent() )
Try passing -std=c++23 to g++ -- that code doesn't look like valid C++ from when I was regularly programming in C++, but the standards committee has fucked around with the language a lot in the last few years and I suspect this is something from one of the very recent standards.
OK. I think I see what you're getting at. If you can figure out how to get it to the point of an outline, there are triangulation libraries that can fill in the mesh for you (I think I've mentioned one to you before a long time ago) if you want flat end caps on the extrusion. I'm not sure off the top of my head how you'd get to an outline from that star example though -- a few ideas come to mind, but they're very much half-baked ideas... :p
Best of luck!
Edit: the triangulation library I was thinking of: https://github.com/mapbox/earcut
I'm not sure I quite get it, but if I'm following correctly, you're using the numbers to indicate a sequence of vertices for a triangle fan here (with @ indicating the central vertex), right? If so, the vertices are used in more than one triangle; (0, 1, 2) and (0, 2, 3) are triangles that reuse vertex 0 (@) and vertex 2.
If that's what's going on then it should be fairly straightforward to turn shapes defined like this into extrusions; for the simplest case you duplicate and offset the triangle fan for the other end and then generate quads/pairs of triangles for the extruded faces of the prism -- and for more complicated cases you can repeat that (with planar alignment if needed) following a curve in small increments.
I might not be following though since I don't know what you mean by color index face hints.
fan vs strip
Why not just work with a collection of triangles directly? It uses more memory, yes, but it's simpler to reason about and can also have parallelism benefits (since each triangle is independent).
It can still be useful to track shared vertices (and reference them by index) though.
Well, I've seen Fate/Stay Night and Fate/Zero and a few of the other spin offs but I've kind of lost track of the Fate/Word Salad series at this point... 🙃️
For you, maybe, but for me it's my desktop's clock -- with my microwave as the fallback (e.g. when I'm playing a fullscreen game).
I basically only check the time on my phone if I'm out and about (which is... rare) or when I'm getting up/going to bed -- which also serves as a check for messages (since I have my phone on Do Not Disturb 24/7).
I actually bought a physical wall clock earlier this year thinking that I could stick it somewhere more convenient to read than the microwave, but the ticking was too damned annoying.
I've been reading a fair bit of old, out of copyright fiction over the last couple years. I recently finished Carry On, Jeeves by P. G. Wodehouse which was amusing. You can find a copy here: https://www.gutenberg.org/ebooks/65974
Honestly not sure. I wouldn't be surprised if it breaks something with D-Bus based on skimming the man pages, but I've never dug into it. Its not exposed in containers I run though, and I haven't run into anything that broke there as a result... 🤷️
Well, there is /etc/machine-id on Linux...
On 196, there's a rule to post before you leave (see the sidebar/community description depending on which UI you're using). "rule" means they couldn't think of a good title; i.e. they're just following the "post something" rule. It's popular to come up with something punny though involving "rule" if you can.