、function、symbol
typeof nullAs object a result, this is actually typeof the one bug that is the null original value, the non-reference type
typeoof [1,2]As a result object , there is no such item in the result, and the reference type function is all but the object
typeof Symbol()With the typeof get symbol type of worth to be symbol , this is the ES6 new knowledge point
instanceof
Corresponds to the instance and constructor. For example, to determine whether a variable is an array,
Hey hey... Google has acquired Moto mobile... this doesn't mean that another apple has appeared... it's time to capture android...
When I used to play Android, I transplanted several libraries. freeimage FreeType Tokamak to Android. Through ndk ..
1. Four pyramid: consisting of 4 triangles.
Square Body: composed of 6 triangles.
Difficulty: When building the vertex coordinates of a 3D space, you must always have the center coordinate of the object (0.0f,0.0f,0.0f) to rotate the object around
Elasticsearch-hadoop provides local integration of Elasticsearch with Apache Spark. The data read from Elasticsearch is operated in the form of Rdd in Spark, while the contents of spark Rdd can be converted into documents and stored in Elasticsearch
Due to my recent reading of h264 files, I encountered the problem of how to read the full frame data, through the use of Elecard Stream Analyzer tools, as well as the combination of "new generation of video compression coding standard--H264/AVC"
The fog effect is actually very easy to implement. I will summarize it first:
(1) first, we must set the background color to the fog color.
(2) Enable the fog Effect
(3) set the background color of fog
(4) set the fog Equation
The fog equation has
CodeNot very standard. Let's take a look. SDK version 15 can reduce the version compilation by itself. No new features are used. OpenGL currently has very few examples. If you are interested, you can download it and see it. It took me a day.All
Main Activity
public class TestGLCubeActivity extends Activity { /** Called when the activity is first created. */private GLSurfaceView GLMainView; @Override public void onCreate(Bundle savedInstanceState) {
Document directory
4. Comparison of performance of existing distributed Technologies
1: Socket vs remoting
Using socket is undoubtedly the most efficient. However, in a complex interface environment, the socket development efficiency is also
Function prototypeGluperspective (gldouble fovy, gldouble aspect, gldouble znear, gldouble zfar)First, set gluperspective to see what its parameters mean.Fovy, which is the most difficult to understand. My understanding is that the angle of open
Original article: http://blog.sina.com.cn/s/blog_4a0a39c30100auh6.html
The android SDK is always upgraded, M3-> M5-> 0.9->1.0. The most important thing is that TMD is somewhatCodeNot compatible yet. You have to review apidemos and follow the
1. Four pyramid: composed of four triangles. Ry: consists of six triangles. Difficulty: when constructing the vertex coordinates of a 3D space, to make the object rotate around its own axis, the central coordinates of the object must always be (0.0f,
If you reference an online record:
For both, you pass OpenGL some buffers containing vertex data.
GlDrawArrays is basically "draw this contiguous range of vertices, using the data I gave you earlier". Good:
You don't need to build an index bufferBad:
1. Four pyramid: composed of four triangles.
Ry: consists of six triangles.
Difficulty: when constructing the vertex coordinates of a 3D space, to make the object rotate around its own axis, the central coordinates of the object must always be (0.0f,
you can define the shape you want to draw in OpenGL ES view, which is the first step in creating a masterpiece of high-end Graphics. It's a bit tricky to draw without knowing some basics, such as how OpenGL ES defines graphical objects.This tutorial
/* Copyright (C) The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License") ; * You are not a use this file except in compliance with the License. * Obtain a copy of the License at * *
1, Array.from ()This method is used to convert two types of objects into real arrays: arrays-like objects (Array-like object) and Ergodic (iterable) objects, including ES6 new data structure set and map. Here is an array-like object, Array.from it
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.