Jump to content

Dmitry87

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Dmitry87

  • Rank
    Newbie
  1. Thanks. All work great. I just din't understand part with. args || arguments; and obj || window Is "||" logical or? What it does in those parts?
  2. Hi,I'm writing some demos on JavaScript and get into some problems that can't understand how it works.I create a constructor function and define it variables and functions.But in InitBuffer function I'm calling onload image function and I'd like to be able to use this. variables but not what I did below. I create new variables image and sampTexture. Maybe I should pass that parameters in this onload function. But wasn't able to do that. function window(objectsSource){ this.xmlsource=objectsSource; this.indexbuffer = null; this.texelbuffer = null; this.initbuffer = InitBuffer; fu
×
×
  • Create New...