Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit c2c3f5d

Browse files
committed
PATCH: add bimdata_camera_direction
1 parent ce14407 commit c2c3f5d

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

docs/PerspectiveCamera.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
77
**cameraDirection** | [**Direction**](Direction.md) | |
88
**cameraUpVector** | [**Direction**](Direction.md) | |
99
**cameraViewPoint** | [**Point**](Point.md) | |
10+
**bimdataCameraDirection** | [**Direction**](Direction.md) | | [optional]
1011

1112

src/model/PerspectiveCamera.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@
7979
if (data.hasOwnProperty('camera_view_point')) {
8080
obj['camera_view_point'] = Point.constructFromObject(data['camera_view_point']);
8181
}
82+
if (data.hasOwnProperty('bimdata_camera_direction')) {
83+
obj['bimdata_camera_direction'] = Direction.constructFromObject(data['bimdata_camera_direction']);
84+
}
8285
}
8386
return obj;
8487
}
@@ -99,6 +102,10 @@
99102
* @member {module:model/Point} camera_view_point
100103
*/
101104
exports.prototype['camera_view_point'] = undefined;
105+
/**
106+
* @member {module:model/Direction} bimdata_camera_direction
107+
*/
108+
exports.prototype['bimdata_camera_direction'] = undefined;
102109

103110

104111

test/model/PerspectiveCamera.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
8181
//expect(instance).to.be();
8282
});
8383

84+
it('should have the property bimdataCameraDirection (base name: "bimdata_camera_direction")', function() {
85+
// uncomment below and update the code to test the property bimdataCameraDirection
86+
//var instance = new bimdata.PerspectiveCamera();
87+
//expect(instance).to.be();
88+
});
89+
8490
});
8591

8692
}));

0 commit comments

Comments
 (0)