What's a fast way to test if 2 rectangles are intersecting?    A search on the internet came up with this one-liner (WOOT!), but I don't understand how to write it in Javascript, it seems to be written in an ancient form of C++.  struct {...
I would like to record the users webcam and audio and save it to a file on the server. These files would then be able to be served up to other users.  I have no problems with playback, however I'm having problems getting the content to record....
Is there any JavaScript library that can be used for calculations involving 700+ Digits? Also, how about the same thing in C++?...
I want to embed Javascript in a hobby game engine of mine. Now that we have the 5th generation of Javascript engines out (all blazing fast) I'm curious what engine would you choose to embed in a C++ framework (that includes actual ease of embedi...
I am implementing 2d-bin-packing algorithm in canvas. My task is to place rectangles as optimal as it can be on a canvas.  the following shows how to do it:  http://incise.org/2d-bin-packing-with-javascript-and-canvas.html  BUT, it starts with the o...
Can I somehow get precise screen coordinates (relative to top left corner of the screen) of a DOM object. Through NPAPI\FireBreath or JavaScript. (Need this for plugin, that I'm writing  with FireBreath)...
I'm watching a C# tutorial and came across StackOverflowException.  the narrator gave a neat example of such an exception using the code snippet below,  public class Employee {     private string _name;      public string Name     {        get{...
Why bitwise operation (~0); prints -1 ? In binary , not 0 should be 1 . why ?...
I'm a new comer in Google V8 and Javascript, and I'm trying to add a new class to Javascript using C++.    I've finished some work using Webkit's V8 binding, references are: webkit idl and v8 binding    Now I want to integrate it into...
Looking for a construct in javascript which works like the destructor in stackbased or local object in c++, e.g.  #include <stdio.h> class M { public:   int cnt;   M()        {cnt=0;}   void inc() {cnt++;}   ~M()       {printf ("Count is %d...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.