Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99375714
camera.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 24, 00:02
Size
328 B
Mime Type
text/x-c
Expires
Sun, Jan 26, 00:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23789158
Attached To
rSYMKIT symkit
camera.cpp
View Options
#include "camera.h"
#include "svector.h"
void
Camera
::
moveCamera
(
const
SVector
<
3
>&
position
){
this
->
position
=
position
;
}
void
Camera
::
moveView
(
const
SVector
<
3
>&
lookat
){
this
->
lookat
=
lookat
;
}
SVector
<
3
>
Camera
::
getPosition
()
const
{
return
position
;
}
SVector
<
3
>
Camera
::
getLookat
()
const
{
return
lookat
;
}
Event Timeline
Log In to Comment