2012年09月19 - unity里面每个gameobject都可以设只layer(1个int值)。layer有什么用呢?一方面相机中可以设置是否渲染某layer另一方面可以再raycast中设置是否忽略检测某layer。static function Raycast (origin : Vector3, d
2012年06月27 - I need to normalize a vector of N integers so that:
我需要使一个N个整数的向量标准化,这样:
Each value is proportional to its original value (the value will be betwe
2014年01月22 - I want to get sizeof of the type that is contained in a vector. Here is what I tried:
我想获得向量中包含的类型的sizeof。这是我尝试过的:
#include <iostream>
#include