Cubemap.js 347 B

1234567891011121314
  1. function Cubemap() {
  2. }
  3. Cubemap.prototype.getTexture = function(index) {
  4. Polycode.Cubemap_getTexture(this.__ptr, index)
  5. }
  6. Cubemap.prototype.setTexture = function(texture,index) {
  7. Polycode.Cubemap_setTexture(this.__ptr, texture,index)
  8. }
  9. Cubemap.prototype.recreateFromTextures = function() {
  10. Polycode.Cubemap_recreateFromTextures(this.__ptr)
  11. }