Vulkan is a low-overhead, cross-platform 3D graphics and compute API.
Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.
// Returns: INTERSECT : 0 | |
// INSIDE : 1 | |
// OUTSIDE : 2 | |
int FrustumAABBIntersect(Plane *planes, Vector &mins, Vector &maxs) { | |
int ret = INSIDE; | |
Vector vmin, vmax; | |
for(int i = 0; i < 6; ++i) { | |
// X axis | |
if(planes[i].normal.x > 0) { |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
import os | |
import asyncio | |
import sys | |
from asyncio.streams import StreamWriter, FlowControlMixin | |
reader, writer = None, None | |
@asyncio.coroutine | |
def stdio(loop=None): |
Since this is on Hacker News and reddit...
_t
in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries".char *
s.type * name
, however, is entirely intentional.GameBoy Color DMA-Transfers v0.0.1 13.04.2000/GPZ-HIT | |
------------------------------------------------------------------------------- | |
"old" DMA Transfer (aka 'OAM-DMA') | |
---------------------------------- | |
source: - anywhere from $0000 to $dfff | |
- must be page-aligned | |
destination: - always OAM-Ram at $fe00 - $fe8f | |
length: - always 4*40 (=160 / $a0) bytes |