mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-18 00:14:28 +00:00
Work-in-progress
Embedded .basis files with and without alpha. Started adding support to draw both types, as well as ETC. Fixed broken WebGL canvas.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -13,6 +13,13 @@ body {background:#333; font-family:"Verdana","Helvetica Neue","Helvetica","Ari
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="canvas" oncontextmenu="event.preventDefault()"></canvas>
|
||||
<script>
|
||||
var Module = {
|
||||
canvas: (function() {
|
||||
return document.getElementById("canvas");
|
||||
})()
|
||||
};
|
||||
</script>
|
||||
{{{ SCRIPT }}}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user