541
Projects / Re: 3D Sound using lwjgl binding of Open AL
« on: March 15, 2008, 12:39:04 am »
O.K. I'll have to read up on jars a little and get back.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
public class Mouse extends Base implements CollisionListener {
public Mouse(Object3D obj) {
super(obj);
// TODO Auto-generated constructor stub
}
private Object3D colObj;
@Override
public void collision(CollisionEvent event) {
colObj = event.getObject();
// TODO Auto-generated method stub
}
@Override
public boolean requiresPolygonIDs() {
// TODO Auto-generated method stub
return false;
}
public void update()
{ if(colObj != null)System.out.println(colObj.getID());
colObj = null;
}
}
I am really glad I found this, because now I know how to do multi-buffer streaming of sounds, so thanks for the question, fireside!