repo.or.cz
/
kong.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Physics: Replaced the collision detection algorithm for circles and line segments...
2009-03-07
Hanno Braun
Physics: Replac
e
d the
collisi
o
n detection
algori
t
hm
.
.
.
commit
|
commitdiff
|
tree
2009-03-06
Ha
n
no Braun
P
h
ysics
:
Use
V
ec2D
.
project ins
t
ead
of Ve
c
2D
.
split in
.
.
.
commit
|
commitdiff
|
tree
2009-03-06
Hanno Braun
Phyisics: Added meth
o
d to Vec2D
that
proje
c
ts the vector
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno
Braun
Physics: Add
e
d a
m
et
h
od to Vec2D that returns th
e
o
rthog
o
n
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Brau
n
Physics: Ch
a
n
g
ed the way line segments are defined
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
Physics: Added a small tol
e
ran
c
e wh
e
n updating b
o
dy
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
P
h
ysics
:
Don't
l
e
t
b
od
i
e
s inters
e
ct wh
e
n
t
hey collide
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Bra
u
n
Removed debug
out
p
ut
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Br
a
un
Physics:
Implemented cont
i
niou
s
collis
i
o
n
detection
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno
Br
a
un
Physi
c
s: C
h
ang
e
d Collision
.
It now consists
of a tim
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hann
o
B
r
a
u
n
Ph
y
sic
s
: Added the cl
a
s
s
C
ontact wh
i
ch repre
s
e
n
ts a
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hann
o
Braun
Ph
y
s
i
cs:
Cha
n
g
ed the
w
ay the physics simu
l
a
t
i
o
n
works
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno
B
raun
Physics: Apply i
m
pulses to bod
i
es in W
o
rld
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
n
o
Braun
Physics: Minor refa
c
torin
g
in Body
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Phy
s
i
cs: Add
e
d a test that makes s
u
re no n
u
l
l forces
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno
B
rau
n
Physics:
Added suppor
t
for a
p
plyi
n
g impul
s
es to Body
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
R
e
m
oved the dependency to P
h
ys2D
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
W
h
i
te
s
pace cor
r
ection
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno Braun
In the main lo
o
p, the
w
orld
w
ouldn't be stepped accordi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
H
a
nno Braun
Don'
t
sleep for a fixed time
.
Ad
a
pt slee
p
time to archieve
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nn
o
Bra
u
n
Replaced Phys2D with the new physics pac
k
age
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Bra
u
n
Ph
y
si
c
s
: The
d
istance between circles was
i
ncorrectly
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physic
s
: SimpleNarrowPhase coul
d
throw an As
s
ertion
E
rror
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
B
ra
u
n
Physics: Added some
tol
e
r
anc
e
to the unit vector check
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
n
o B
r
au
n
P
h
ysics: U
s
e Vec2D
.
s
q
u
a
red
L
ength to ch
e
c
k normal leng
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics:
A
dded more informa
t
ion to except
i
on messa
g
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physic
s
: Replaced a use of the deprecated met
h
od List
.
+
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
P
h
ys
i
c
s
: Removed Vec2D
.
in
v
erse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phy
s
ics
:
Use -vec instead of vec
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added the unary -
o
perator to Ve
c
2D
.
-vec
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
sics: Del
e
ted NoNar
r
owPhas
e
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
P
h
ysics: Made SimpleN
a
rrowP
h
ase the default narrow
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Ph
y
sic
s
: Implemen
t
ed Si
m
pleNa
r
row
P
ha
s
e
,
a
narrow p
h
a
se
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
ann
o
B
raun
P
hysic
s
:
Added a
m
ethod to V
e
c2D that returns the normaliz
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: Added meth
o
d
s
to Vec2D that compute the length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno B
r
a
un
P
h
ysics: Docume
n
t
e
d SimpleBro
a
dPhase
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no B
r
a
un
Physi
c
s: Docu
m
ented NarrowPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
sics: Documented Collision
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Br
a
u
n
Physics: Do
c
umented BroadP
h
ase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Code formatting c
o
r
r
ection
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Physics:
Imp
l
emented
collision handlin
g
for sta
t
ic
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
P
hysics
:
Changed
W
o
rld
.
bodies t
o
a
v
al
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics
:
V
e
rify
that
n
o
r
mal vectors
in Collisio
n
a
re
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Physics: Whitespace correction
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Brau
n
Physics: Dis
a
llow Body
'
s mass to be
zero
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Ph
y
sics:
Implemented coll
i
sion
h
a
n
d
l
ing for collisions
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
Physics:
Added a method to
V
ec2D
t
hat c
a
n split a
vector
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no
B
r
aun
P
h
ysic
s
: Added a subs
t
raction me
t
hod to V
e
c2D
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
un
Physic
s
:
P
erform broad a
n
d narrow phase collision detecti
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hysics: Made sur
e
World
'
s broad and
n
a
rrow
phases
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
P
hysics
:
R
e
na
m
ed some te
s
t methods
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Br
a
u
n
Physics: Use an instance of SimpleBroadPhase
i
n World
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Phy
s
ics: Renamed a tes
t
method
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physi
c
s: Adde
d
the tra
i
t Bro
a
dPha
s
e together w
i
t
h a
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Phy
s
ics
:
Renamed
Collision
S
olver to Narro
w
Phase
.
Also
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
n
o Braun
P
h
ysics: World n
o
w has a NoCollisionS
o
lver af
t
er bei
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics
:
Added the tr
a
it CollisionS
o
lver
.
Als
o
added
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
au
n
Physics: Adde
d
a
class that mod
e
ls
a co
l
lisi
o
n
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Phy
s
ics: Added a method to Vec2D
t
hat com
p
utes the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
hy
s
ics: So
m
e code formatting and doc
u
mentation
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no
Braun
Physics: Added two
s
hapes, circles and line segments
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Phy
s
ics:
Added a test that make
s
s
ur
e
f
o
rces are applie
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no Braun
Physics
:
Added a
feature that allows to con
s
t
rain the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nn
o
Br
a
un
Phy
s
i
cs: A
d
ded a simple world cla
s
s th
a
t can apply
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Bra
u
n
Physics: Added a met
h
od to
Body that resets the applied
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysi
c
s
:
Added
s
ca
l
ar d
i
visio
n
to ve
c
tor
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Adde
d
the beginnings of an e
x
p
e
rimental phy
s
ic
s
package
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
scala
.
Ra
n
d
o
m
i
s depre
c
a
t
ed
.
Use java
.
util
.
Ra
n
dom instead
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Activated deprecation w
a
rnings
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Input
:
Documented KeyMa
p
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o
Braun
Input: Update
d
KeyHandler d
o
c
umentation
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Brau
n
Input: KeyHandler is no
longe
r
a P
B
a
sicIn
p
utEventH
a
n
dler
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o
Br
a
un
Input: Re
f
acto
r
ed K
e
yH
a
ndler
.
doIfPre
s
sed
.
It now uses
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nn
o
Braun
Input:
A
d
ded un
i
t
tests for KeyH
a
n
d
l
e
r
.
doI
f
P
r
esse
d
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
n
o Brau
n
In
p
ut: Removed KeyH
a
n
dl
e
r
.
d
o
I
f
OrE
l
se
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Bra
u
n
Use foreach loop for input han
d
ling
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno Braun
U
se
K
e
y
Ha
n
dl
e
r
.
isPres
s
ed for i
n
put hand
l
ing
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o Braun
Renamed
KeyHandler
.
doIfReturn
R
esult
to
d
o
IfP
r
essed
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Added unit tests for
KeyHa
n
dler
.
isPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
In
p
ut: Added a
n
e
w
f
unction t
o
KeyHandler,
i
sPressed
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Rem
o
ved
t
he old Inp
u
tHa
n
dler
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nno
Braun
U
s
ed the new generi
c
input functionality in plac
e
o
f
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
B
raun
Rename
d
the InputHandler class
f
rom the import
e
d
input
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Rename
d
t
h
e
I
nputHandler from the
i
mpo
r
te
d
i
nput p
a
cka
g
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
a
nn
o
Brau
n
Imported classes f
o
r
g
e
n
er
i
c i
n
put
h
and
l
ing from
a
n
other
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Ad
d
e
d
ex
e
cution scri
p
t
s for L
i
nux/U
n
ix and Windows
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Brau
n
Adde
d
Scala as a de
p
end
e
ncy
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno
Braun
Update
s
core display
position
wh
e
n
s
co
r
e
changes
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Bra
u
n
E
x
tracte
d
score
l
ogic into
i
ts own
c
l
ass
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
I
mplemented score countin
g
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
A
d
j
uste
d
paddle handlin
g
.
commit
|
commitdiff
|
tree
2009-01-16
H
anno
B
raun
Adjusted ball spawning mec
h
a
nics
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Requ
e
sted fo
c
us for
t
he c
a
nv
a
s
.
This fixes th
e
p
r
oblem
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Ch
a
nged pa
d
d
l
e h
a
n
dling
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
n
n
o Braun
M
ade ball s
t
arting velocity
f
a
ster in x direction
.
commit
|
commitdiff
|
tree
2009-01-15
Hann
o
Braun
Extracted bal
l
f
u
nctionality
i
nto a
class and rand
o
mize
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
Pla
c
e b
a
ll in the middle if it le
a
v
e
s the fiel
d
.
commit
|
commitdiff
|
tree
2009-01-15
Ha
n
no Braun
Added a ba
l
l
.
commit
|
commitdiff
|
tree
2009-01-15
Han
n
o Braun
A
d
ded bord
e
rs at
t
he t
o
p
and bottom
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Br
a
u
n
M
ake paddles
n
ormal bod
i
es a
n
d move th
e
m by applyin
g
.
.
.
commit
|
commitdiff
|
tree
next