Normalize line endings and whitespace
This commit is contained in:
committed by
Andrey Kamaev
parent
69020da607
commit
04384a71e4
40
3rdparty/openexr/IlmImf/ImfEnvmap.h
vendored
40
3rdparty/openexr/IlmImf/ImfEnvmap.h
vendored
@@ -2,9 +2,9 @@
|
||||
//
|
||||
// Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
|
||||
// Digital Ltd. LLC
|
||||
//
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
// met:
|
||||
@@ -16,8 +16,8 @@
|
||||
// distribution.
|
||||
// * Neither the name of Industrial Light & Magic nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
@@ -126,7 +126,7 @@ namespace LatLongMap
|
||||
//--------------------------------------------------------
|
||||
|
||||
Imath::V2f latLong (const Imath::Box2i &dataWindow,
|
||||
const Imath::V2f &pixelPosition);
|
||||
const Imath::V2f &pixelPosition);
|
||||
|
||||
|
||||
//-------------------------------------------------------------
|
||||
@@ -135,7 +135,7 @@ namespace LatLongMap
|
||||
//-------------------------------------------------------------
|
||||
|
||||
Imath::V2f pixelPosition (const Imath::Box2i &dataWindow,
|
||||
const Imath::V2f &latLong);
|
||||
const Imath::V2f &latLong);
|
||||
|
||||
|
||||
//-----------------------------------------------------
|
||||
@@ -145,7 +145,7 @@ namespace LatLongMap
|
||||
//-----------------------------------------------------
|
||||
|
||||
Imath::V2f pixelPosition (const Imath::Box2i &dataWindow,
|
||||
const Imath::V3f &direction);
|
||||
const Imath::V3f &direction);
|
||||
|
||||
|
||||
//--------------------------------------------------------
|
||||
@@ -154,7 +154,7 @@ namespace LatLongMap
|
||||
//--------------------------------------------------------
|
||||
|
||||
Imath::V3f direction (const Imath::Box2i &dataWindow,
|
||||
const Imath::V2f &pixelPosition);
|
||||
const Imath::V2f &pixelPosition);
|
||||
}
|
||||
|
||||
|
||||
@@ -177,10 +177,10 @@ namespace LatLongMap
|
||||
// | | / /
|
||||
// | |/ /
|
||||
// 4-----------5 Z
|
||||
//
|
||||
//
|
||||
// dataWindow.min
|
||||
// /
|
||||
// /
|
||||
// /
|
||||
// +-----------+
|
||||
// |3 Y 7|
|
||||
// | | |
|
||||
@@ -237,7 +237,7 @@ namespace LatLongMap
|
||||
// The size of the data window should be N by 6*N pixels
|
||||
// (width by height), where N can be any integer greater
|
||||
// than 0.
|
||||
//
|
||||
//
|
||||
//--------------------------------------------------------------
|
||||
|
||||
//------------------------------------
|
||||
@@ -269,7 +269,7 @@ namespace CubeMap
|
||||
//------------------------------------------
|
||||
|
||||
Imath::Box2i dataWindowForFace (CubeMapFace face,
|
||||
const Imath::Box2i &dataWindow);
|
||||
const Imath::Box2i &dataWindow);
|
||||
|
||||
|
||||
//----------------------------------------------------
|
||||
@@ -280,8 +280,8 @@ namespace CubeMap
|
||||
//----------------------------------------------------
|
||||
|
||||
Imath::V2f pixelPosition (CubeMapFace face,
|
||||
const Imath::Box2i &dataWindow,
|
||||
Imath::V2f positionInFace);
|
||||
const Imath::Box2i &dataWindow,
|
||||
Imath::V2f positionInFace);
|
||||
|
||||
|
||||
//--------------------------------------------------------------
|
||||
@@ -301,19 +301,19 @@ namespace CubeMap
|
||||
//--------------------------------------------------------------
|
||||
|
||||
void faceAndPixelPosition (const Imath::V3f &direction,
|
||||
const Imath::Box2i &dataWindow,
|
||||
CubeMapFace &face,
|
||||
Imath::V2f &positionInFace);
|
||||
const Imath::Box2i &dataWindow,
|
||||
CubeMapFace &face,
|
||||
Imath::V2f &positionInFace);
|
||||
|
||||
|
||||
|
||||
// --------------------------------------------------------
|
||||
// Given a cube face and a pixel position within that face,
|
||||
// compute the corresponding 3D direction.
|
||||
// --------------------------------------------------------
|
||||
|
||||
Imath::V3f direction (CubeMapFace face,
|
||||
const Imath::Box2i &dataWindow,
|
||||
const Imath::V2f &positionInFace);
|
||||
const Imath::Box2i &dataWindow,
|
||||
const Imath::V2f &positionInFace);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user