Laser Sensing Display for UI interfaces in the real world

Dependencies:   mbed

Fork of skinGames_forktest by Alvaro Cassinelli

Committer:
mbedalvaro
Date:
Sun Sep 23 10:11:43 2012 +0000
Revision:
31:5f039cbddee8
this is quite nice, but  I am going to make a deep modification of the bouncing principle: instead of depending on the penetration, it will just be a factor over the speed (perfect elastic bouncing being factorElastic=1, and perfectly absorption=0);

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbedalvaro 31:5f039cbddee8 1 /*
mbedalvaro 31:5f039cbddee8 2 * Copyright (c) 2001, Swedish Institute of Computer Science.
mbedalvaro 31:5f039cbddee8 3 * All rights reserved.
mbedalvaro 31:5f039cbddee8 4 *
mbedalvaro 31:5f039cbddee8 5 * Redistribution and use in source and binary forms, with or without
mbedalvaro 31:5f039cbddee8 6 * modification, are permitted provided that the following conditions
mbedalvaro 31:5f039cbddee8 7 * are met:
mbedalvaro 31:5f039cbddee8 8 * 1. Redistributions of source code must retain the above copyright
mbedalvaro 31:5f039cbddee8 9 * notice, this list of conditions and the following disclaimer.
mbedalvaro 31:5f039cbddee8 10 * 2. Redistributions in binary form must reproduce the above copyright
mbedalvaro 31:5f039cbddee8 11 * notice, this list of conditions and the following disclaimer in the
mbedalvaro 31:5f039cbddee8 12 * documentation and/or other materials provided with the distribution.
mbedalvaro 31:5f039cbddee8 13 * 3. Neither the name of the Institute nor the names of its contributors
mbedalvaro 31:5f039cbddee8 14 * may be used to endorse or promote products derived from this software
mbedalvaro 31:5f039cbddee8 15 * without specific prior written permission.
mbedalvaro 31:5f039cbddee8 16 *
mbedalvaro 31:5f039cbddee8 17 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
mbedalvaro 31:5f039cbddee8 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbedalvaro 31:5f039cbddee8 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
mbedalvaro 31:5f039cbddee8 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
mbedalvaro 31:5f039cbddee8 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbedalvaro 31:5f039cbddee8 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
mbedalvaro 31:5f039cbddee8 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
mbedalvaro 31:5f039cbddee8 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
mbedalvaro 31:5f039cbddee8 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
mbedalvaro 31:5f039cbddee8 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
mbedalvaro 31:5f039cbddee8 27 * SUCH DAMAGE.
mbedalvaro 31:5f039cbddee8 28 *
mbedalvaro 31:5f039cbddee8 29 * This file is part of the lwIP TCP/IP stack.
mbedalvaro 31:5f039cbddee8 30 *
mbedalvaro 31:5f039cbddee8 31 * Author: Adam Dunkels <adam@sics.se>
mbedalvaro 31:5f039cbddee8 32 *
mbedalvaro 31:5f039cbddee8 33 */
mbedalvaro 31:5f039cbddee8 34 #ifndef __NETIF_SLIPIF_H__
mbedalvaro 31:5f039cbddee8 35 #define __NETIF_SLIPIF_H__
mbedalvaro 31:5f039cbddee8 36
mbedalvaro 31:5f039cbddee8 37 #include "lwip/netif.h"
mbedalvaro 31:5f039cbddee8 38
mbedalvaro 31:5f039cbddee8 39 #ifdef __cplusplus
mbedalvaro 31:5f039cbddee8 40 extern "C" {
mbedalvaro 31:5f039cbddee8 41 #endif
mbedalvaro 31:5f039cbddee8 42
mbedalvaro 31:5f039cbddee8 43 err_t slipif_init(struct netif * netif);
mbedalvaro 31:5f039cbddee8 44 void slipif_poll(struct netif *netif);
mbedalvaro 31:5f039cbddee8 45
mbedalvaro 31:5f039cbddee8 46 #ifdef __cplusplus
mbedalvaro 31:5f039cbddee8 47 }
mbedalvaro 31:5f039cbddee8 48 #endif
mbedalvaro 31:5f039cbddee8 49
mbedalvaro 31:5f039cbddee8 50 #endif
mbedalvaro 31:5f039cbddee8 51