This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerator Kupka_coroutine() { | |
while(true) { | |
if(x>0.9) { | |
for(float t=0;, t<1; t+=speed*Time.delta) { | |
//przesun kamere o 1 step | |
yield return null; | |
} | |
} else { | |
yield return null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/Light rays" { | |
Properties { | |
_MainTex ("Rays texture", 2D) = "white" {} | |
_speed ("Speed", Float) = 0.2 | |
} | |
Category { | |
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | |
Blend SrcAlpha One |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Java class */ | |
public void FooHandler { | |
private long mHandle; // stores native pointer | |
/* Creates c++ object and returns it's pointer */ | |
private native long init(); | |
/* Calls "delete" on c++ object */ | |
private native void destroy(long handle); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void vote(int candidate) { | |
/* | |
switch(candidate) { | |
case Canditate.DZIERZAWSKI: ++mDzierzawskiVotes; break; | |
case Canditate.ERBEL: ++mErbelVotes; break; | |
case Canditate.GORAYSKI: ++mGorayskiVotes; break; | |
case Canditate.GRONKIEWICZ-WALTZ: ++mBitchVotes; break; | |
case Canditate.GUZIAŁ: ++mGuzialVotes; break; | |
case Canditate.NOSAL-IKONOWICZ: ++mIkonowiczVotes; break; | |
case Canditate.ROZENEK: ++mRozenekVotes; break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parts list for MAV: | |
Arduino UNO; 1; | |
MTK3339; 1; http://botland.com.pl/moduly-gps/2662-adafruit-ultimate-gps-modul-gps-mtk3339.html | |
MPU-6050; 1; http://botland.com.pl/akcelerometry-moduly/1632-mpu-605-modul-3-osiowy-akcelerometr-i-zyroskop-sparkfun.html | |
BMP180; 1; http://botland.com.pl/czujniki-cisnienia/2128-bmp180-barometr-czujnik-cisnienia-modul-sparkfun.html | |
ECS HobbyKing 20A Blue series; 4; electropark.pl | |
BDLC Redox 400/1400; 4; electropark.pl> |
NewerOlder