Sha256: 60f7f14186bb10a28341e5d070eef7c9b5e2dc82f87e018f1022d4d1253152e9
Contents?: true
Size: 511 Bytes
Versions: 20
Compression:
Stored size: 511 Bytes
Contents
# # Copyright (c) 2001 by Jim Menard <jimm@io.com> # # Released under the same license as Ruby. See # http://www.ruby-lang.org/en/LICENSE.txt. # require './Params' class Camera attr_accessor :position, :rotation, :zoom def initialize @position = Point.new($PARAMS['camera_x'], $PARAMS['camera_y'], $PARAMS['camera_z']) @rotation = Point.new($PARAMS['camera_rot_x'], $PARAMS['camera_rot_y'], $PARAMS['camera_rot_z']) @zoom = $PARAMS['camera_zoom'] end end
Version data entries
20 entries across 20 versions & 2 rubygems