About Me

This is Amit Kumar Mondal and I'm a 2012 B.TECH graduate from National Institute of Technology, Durgapur (NIT Durgapur) in IT. Currently I am working at Schneider Electric Global Technology Center, India (R&D). This is my personal blog which I have created for keeping my thoughts in a place where it could be immaculate. I don't love to be ostentatious or pedant. It's what I really am. I am frantic in exploring the unxeplored. This is what is inside me. That's why it is nomenclatured "AMIT INSIDE".

More liked posts

Pointer Lock API and FPS Controls

The Pointer Lock API helps properly implement first-person shooter controls in a browser game. Without relative mouse movement the player’s cursor could, for example, hit the right edge of the screen and any further movements to the right would be discounted - the view would not continue to pan right, and the player would not be able to pursue the bad guys and strafe them with his machine gun. The player is going to get fragged and become frustrated. With pointer lock this suboptimal behaviour can’t happen.

The Pointer Lock API allows your application to do the following:

  • Get access to raw mouse data including relative mouse movements
  • Route all mouse events to a specific element

(Source: blog.chromium.org)

  • Posted 1 year ago
  • October 2nd, 2012

0 Likes & Reblogs