- Русский
- от 6-8
- 822грн
- Русский
using UnityEngine; | |
using System.Collections; | |
public class ParticaleAnimator : MonoBehaviour { | |
private void Awake() | |
{ | |
particle = GetComponent<ParticleSystem>(); | |
} |
- Русский
- от 6-8
- 822грн
- Русский
this.render = function(ctx) { | |
ctx.save(); | |
var line = this.layer.collisionLine; | |
var l = this.layer.l; | |
var c = this.layer.c; | |
var px = this.layer.pointX; | |
var py = this.layer.pointY; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>new object allocation #jsbench #jsperf</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
function Point(x, y) { | |
this.x = x; | |
this.y = y; | |
} | |
Point.prototype.getSum = function() { | |
return this.x + this.y; | |
}; |
var vertices = [ | |
-1, -1, 0, | |
1, -1, 0, | |
1, 1, 0, | |
-1, -1, 0, | |
1, 1, 0, | |
-1, 1, 0 | |
]; |
programStars = loadProgram(gl, fs.readFileSync(__dirname + "/stars.glsl", "utf8")); | |
programNebula = loadProgram(gl, fs.readFileSync(__dirname + "/nebula.glsl", "utf8")); | |
programSun = loadProgram(gl, fs.readFileSync(__dirname + "/sun.glsl", "utf8")); | |
var position = [ | |
-1, -1, 0, | |
1, -1, 0, | |
1, 1, 0, | |
-1, -1, 0, | |
1, 1, 0, |
var GameObject = require('GameObject'); | |
// Shortcuts | |
var game; | |
/** | |
* Player represent player objects | |
* | |
* @parent {GameObject} | |
* |
<?php | |
/** | |
* Contact information | |
*/ | |
public function defaultEvent() | |
{ | |
$this->view->setTemplate('editAccount'); | |
$form = new Form($this->getFormConfig('contactInfo')); |
netstat -anltp | grep "LISTEN" |