示例#1
0
 public RustQuaternion(float s, RustVector3 v)
 {
     this.s = s;
     this.v = v;
 }
示例#2
0
        public X3DCamera(float fovy, float z_near, float z_far, float aperture, float shutter_speed, float iso, RustVector3 position) //, Quaternion rotation
        {
            library = nativeLibrary.ActivateInterface <IX3DNative>("EngineRenderer");

            db = library.x3d_new_camera(fovy, z_near, z_far, aperture, shutter_speed, iso, position); //, rotation
        }
示例#3
0
 public RustQuaternion(float x, float y, float z, float w)
 {
     this.s = w;
     this.v = new RustVector3(x, y, z);
 }