FreeWRL

 view release on metacpan or  search on metacpan

GLBackEnd.pm  view on Meta::CPAN


# Set the sub used to go forwards/backwards in VP list
sub set_vp_sub {
	$_[0]{VPSub} = $_[1];
}

sub quitpressed {
	return delete $_[0]{QuitPressed};
}

sub update_scene {
	my($this,$time) = @_;

	while(XPending()) {
		# print "UPDS: Xpend:",XPending(),"\n";
		my @e = &glpXNextEvent();
		# print "EVENT $e[0] $e[1] $e[2] !!!\n";
		if($e[0] == &ConfigureNotify) {
			$this->resize($e[1],$e[2]);
		} 
		$this->event($time,@e);

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.275 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )