use prosperon.camera
This commit is contained in:
@@ -54,7 +54,7 @@ clay.contain = layout.contain;
|
|||||||
|
|
||||||
clay.draw = function draw(fn)
|
clay.draw = function draw(fn)
|
||||||
{
|
{
|
||||||
var size = [prosperon.logical.width, prosperon.logical.height]
|
var size = [prosperon.camera.width, prosperon.camera.height]
|
||||||
lay_ctx.reset();
|
lay_ctx.reset();
|
||||||
boxes = [];
|
boxes = [];
|
||||||
var root = lay_ctx.item();
|
var root = lay_ctx.item();
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ win_config.__proto__ = default_window
|
|||||||
win_config.metal = true
|
win_config.metal = true
|
||||||
|
|
||||||
var window = new video.window(win_config)
|
var window = new video.window(win_config)
|
||||||
|
prosperon.window = window
|
||||||
var win_proto = window.__proto__
|
var win_proto = window.__proto__
|
||||||
win_proto.toJSON = function()
|
win_proto.toJSON = function()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user