Back to index

supertuxkart  0.5+dfsg1
Functions
traffic.cpp File Reference
#include "kart.hpp"
#include "constants.hpp"
#include "world.hpp"

Go to the source code of this file.

Functions

float sgnsq (float x)

Function Documentation

float sgnsq ( float  x) [inline]

Definition at line 24 of file traffic.cpp.

{ return ( x < 0 ) ? -(x * x) : (x * x) ; }